usb: free USBDevice.strings
[qemu/ar7.git] / linux-user / openrisc / target_syscall.h
blob9d3380f9a8de7a558582d0fccb7474bc99aced50
1 #ifndef OPENRISC_TARGET_SYSCALL_H
2 #define OPENRISC_TARGET_SYSCALL_H
4 struct target_pt_regs {
5 union {
6 struct {
7 /* Named registers */
8 uint32_t sr; /* Stored in place of r0 */
9 target_ulong sp; /* r1 */
11 struct {
12 /* Old style */
13 target_ulong offset[2];
14 target_ulong gprs[30];
16 struct {
17 /* New style */
18 target_ulong gpr[32];
21 target_ulong pc;
22 target_ulong orig_gpr11; /* For restarting system calls */
23 uint32_t syscallno; /* Syscall number (used by strace) */
24 target_ulong dummy; /* Cheap alignment fix */
27 #define UNAME_MACHINE "openrisc"
28 #define UNAME_MINIMUM_RELEASE "2.6.32"
30 #define TARGET_MINSIGSTKSZ 2048
31 #define TARGET_MLOCKALL_MCL_CURRENT 1
32 #define TARGET_MLOCKALL_MCL_FUTURE 2
34 #endif /* OPENRISC_TARGET_SYSCALL_H */