1 #ifndef OPENRISC_TARGET_SYSCALL_H
2 #define OPENRISC_TARGET_SYSCALL_H
4 struct target_pt_regs
{
8 uint32_t sr
; /* Stored in place of r0 */
9 target_ulong sp
; /* r1 */
13 target_ulong offset
[2];
14 target_ulong gprs
[30];
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 #define MMAP_SHIFT TARGET_PAGE_BITS
36 #endif /* OPENRISC_TARGET_SYSCALL_H */