]>
Commit | Line | Data |
---|---|---|
3622634b MA |
1 | #ifndef M68K_TARGET_SYSCALL_H |
2 | #define M68K_TARGET_SYSCALL_H | |
e6e5906b PB |
3 | |
4 | /* this struct defines the way the registers are stored on the | |
5 | stack during a system call. */ | |
6 | ||
7 | struct target_pt_regs { | |
992f48a0 BS |
8 | abi_long d1, d2, d3, d4, d5, d6, d7; |
9 | abi_long a0, a1, a2, a3, a4, a5, a6; | |
10 | abi_ulong d0; | |
11 | abi_ulong usp; | |
12 | abi_ulong orig_d0; | |
e6e5906b PB |
13 | int16_t stkadj; |
14 | uint16_t sr; | |
992f48a0 | 15 | abi_ulong pc; |
e6e5906b PB |
16 | uint16_t fntvex; |
17 | uint16_t __fill; | |
18 | }; | |
19 | ||
e6e5906b | 20 | #define UNAME_MACHINE "m68k" |
cbc14e6f | 21 | #define UNAME_MINIMUM_RELEASE "2.6.32" |
e6e5906b | 22 | |
0903c8be | 23 | #define TARGET_MINSIGSTKSZ 2048 |
6f6a4032 TM |
24 | #define TARGET_MLOCKALL_MCL_CURRENT 1 |
25 | #define TARGET_MLOCKALL_MCL_FUTURE 2 | |
0903c8be | 26 | |
5457dc9e LV |
27 | #define TARGET_WANT_OLD_SYS_SELECT |
28 | ||
05390248 | 29 | void do_m68k_simcall(CPUM68KState *, int); |
460c579f | 30 | |
3622634b | 31 | #endif /* M68K_TARGET_SYSCALL_H */ |