checkpatch: port fix from kernel "## is not a valid modifier"
[qemu.git] / linux-user / openrisc / syscall.h
blob8ac03656d4b1a1fc115811f8a2435978e1f39b49
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];
13 struct {
14 /* New style */
15 target_ulong gpr[32];
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 */
24 #define UNAME_MACHINE "openrisc"
25 #define UNAME_MINIMUM_RELEASE "2.6.32"
27 #define TARGET_MINSIGSTKSZ 2048
28 #define TARGET_MLOCKALL_MCL_CURRENT 1
29 #define TARGET_MLOCKALL_MCL_FUTURE 2