X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Flinux-user%2Fsh4%2Fsyscall.h;fp=qemu%2Flinux-user%2Fsh4%2Fsyscall.h;h=7aa4f239c51e74547215a44a9e236a2855637688;hb=e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb;hp=0000000000000000000000000000000000000000;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git diff --git a/qemu/linux-user/sh4/syscall.h b/qemu/linux-user/sh4/syscall.h new file mode 100644 index 000000000..7aa4f239c --- /dev/null +++ b/qemu/linux-user/sh4/syscall.h @@ -0,0 +1,17 @@ +struct target_pt_regs { + unsigned long regs[16]; + unsigned long pc; + unsigned long pr; + unsigned long sr; + unsigned long gbr; + unsigned long mach; + unsigned long macl; + long tra; +}; + +#define UNAME_MACHINE "sh4" +#define UNAME_MINIMUM_RELEASE "2.6.32" + +#define TARGET_MINSIGSTKSZ 2048 +#define TARGET_MLOCKALL_MCL_CURRENT 1 +#define TARGET_MLOCKALL_MCL_FUTURE 2