root / linux-user / m68k / syscall.h @ f97572e5
History | View | Annotate | Download (479 Bytes)
1 | e6e5906b | pbrook | |
---|---|---|---|
2 | e6e5906b | pbrook | /* this struct defines the way the registers are stored on the
|
3 | e6e5906b | pbrook | stack during a system call. */
|
4 | e6e5906b | pbrook | |
5 | e6e5906b | pbrook | struct target_pt_regs {
|
6 | 992f48a0 | blueswir1 | abi_long d1, d2, d3, d4, d5, d6, d7; |
7 | 992f48a0 | blueswir1 | abi_long a0, a1, a2, a3, a4, a5, a6; |
8 | 992f48a0 | blueswir1 | abi_ulong d0; |
9 | 992f48a0 | blueswir1 | abi_ulong usp; |
10 | 992f48a0 | blueswir1 | abi_ulong orig_d0; |
11 | e6e5906b | pbrook | int16_t stkadj; |
12 | e6e5906b | pbrook | uint16_t sr; |
13 | 992f48a0 | blueswir1 | abi_ulong pc; |
14 | e6e5906b | pbrook | uint16_t fntvex; |
15 | e6e5906b | pbrook | uint16_t __fill; |
16 | e6e5906b | pbrook | }; |
17 | e6e5906b | pbrook | |
18 | e6e5906b | pbrook | |
19 | e6e5906b | pbrook | #define UNAME_MACHINE "m68k" |
20 | e6e5906b | pbrook | |
21 | e6e5906b | pbrook | void do_m68k_semihosting(CPUState *, int); |
22 | e6e5906b | pbrook | void do_m68k_simcall(CPUState *, int); |