1#ifndef TARGET_SYSCALL_H
2#define TARGET_SYSCALL_H
3
4#define UNAME_MACHINE "nios2"
5#define UNAME_MINIMUM_RELEASE "3.19.0"
6
7struct target_pt_regs {
8 unsigned long r8;
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;
17 unsigned long r2;
18 unsigned long r3;
19 unsigned long r4;
20 unsigned long r5;
21 unsigned long r6;
22 unsigned long r7;
23 unsigned long orig_r2;
24 unsigned long ra;
25 unsigned long fp;
26 unsigned long sp;
27 unsigned long gp;
28 unsigned long estatus;
29 unsigned long ea;
30 unsigned long orig_r7;
31};
32
33#define TARGET_MINSIGSTKSZ 2048
34#define TARGET_MLOCKALL_MCL_CURRENT 1
35#define TARGET_MLOCKALL_MCL_FUTURE 2
36
37#endif
38