Add qemu 2.4.0
[kvmfornfv.git] / qemu / linux-user / openrisc / syscall.h
1 struct target_pt_regs {
2     union {
3         struct {
4             /* Named registers */
5             uint32_t sr;       /* Stored in place of r0 */
6             target_ulong sp;   /* r1 */
7         };
8         struct {
9             /* Old style */
10             target_ulong offset[2];
11             target_ulong gprs[30];
12         };
13         struct {
14             /* New style */
15             target_ulong gpr[32];
16         };
17     };
18     target_ulong pc;
19     target_ulong orig_gpr11;   /* For restarting system calls */
20     uint32_t syscallno;        /* Syscall number (used by strace) */
21     target_ulong dummy;     /* Cheap alignment fix */
22 };
23
24 #define UNAME_MACHINE "openrisc"
25 #define UNAME_MINIMUM_RELEASE "2.6.32"
26
27 #define TARGET_MINSIGSTKSZ 2048
28 #define TARGET_MLOCKALL_MCL_CURRENT 1
29 #define TARGET_MLOCKALL_MCL_FUTURE  2