build: allow automatic git submodule updates to be disabled
[qemu/ar7.git] / linux-user / nios2 / target_syscall.h
blobca6b7e69f6e3c9a4a3e59c9343f183431d599f59
1 #ifndef TARGET_SYSCALL_H
2 #define TARGET_SYSCALL_H
4 #define UNAME_MACHINE "nios2"
5 #define UNAME_MINIMUM_RELEASE "3.19.0"
7 struct target_pt_regs {
8 unsigned long r8; /* r8-r15 Caller-saved GP registers */
9 unsigned long r9;
10 unsigned long r10;
11 unsigned long r11;
12 unsigned long r12;
13 unsigned long r13;
14 unsigned long r14;
15 unsigned long r15;
16 unsigned long r1; /* Assembler temporary */
17 unsigned long r2; /* Retval LS 32bits */
18 unsigned long r3; /* Retval MS 32bits */
19 unsigned long r4; /* r4-r7 Register arguments */
20 unsigned long r5;
21 unsigned long r6;
22 unsigned long r7;
23 unsigned long orig_r2; /* Copy of r2 ?? */
24 unsigned long ra; /* Return address */
25 unsigned long fp; /* Frame pointer */
26 unsigned long sp; /* Stack pointer */
27 unsigned long gp; /* Global pointer */
28 unsigned long estatus;
29 unsigned long ea; /* Exception return address (pc) */
30 unsigned long orig_r7;
33 #define TARGET_MINSIGSTKSZ 2048
34 #define TARGET_MLOCKALL_MCL_CURRENT 1
35 #define TARGET_MLOCKALL_MCL_FUTURE 2
37 #endif /* TARGET_SYSCALL_H */