Statistics
| Branch: | Revision:

root / linux-user / m68k / syscall.h @ a7037b29

History | View | Annotate | Download (497 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 e6e5906b pbrook
    target_long d1, d2, d3, d4, d5, d6, d7;
7 e6e5906b pbrook
    target_long a0, a1, a2, a3, a4, a5, a6;
8 e6e5906b pbrook
    target_ulong d0;
9 e6e5906b pbrook
    target_ulong usp;
10 e6e5906b pbrook
    target_ulong orig_d0;
11 e6e5906b pbrook
    int16_t stkadj;
12 e6e5906b pbrook
    uint16_t sr;
13 e6e5906b pbrook
    target_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);