]>
Commit | Line | Data |
---|---|---|
3622634b MA |
1 | #ifndef SH4_TARGET_SYSCALL_H |
2 | #define SH4_TARGET_SYSCALL_H | |
460c579f | 3 | |
fdf9b3e8 FB |
4 | struct target_pt_regs { |
5 | unsigned long regs[16]; | |
6 | unsigned long pc; | |
7 | unsigned long pr; | |
8 | unsigned long sr; | |
9 | unsigned long gbr; | |
10 | unsigned long mach; | |
11 | unsigned long macl; | |
12 | long tra; | |
13 | }; | |
14 | ||
15 | #define UNAME_MACHINE "sh4" | |
cbc14e6f | 16 | #define UNAME_MINIMUM_RELEASE "2.6.32" |
0903c8be TM |
17 | |
18 | #define TARGET_MINSIGSTKSZ 2048 | |
6f6a4032 TM |
19 | #define TARGET_MLOCKALL_MCL_CURRENT 1 |
20 | #define TARGET_MLOCKALL_MCL_FUTURE 2 | |
460c579f | 21 | |
ee8e7614 PM |
22 | #define TARGET_FORCE_SHMLBA |
23 | ||
24 | static inline abi_ulong target_shmlba(CPUSH4State *env) | |
25 | { | |
26 | return 0x4000; | |
27 | } | |
28 | ||
3622634b | 29 | #endif /* SH4_TARGET_SYSCALL_H */ |