root / linux-user / mips / syscall.h @ ecd78a0a
History | View | Annotate | Download (482 Bytes)
1 | 048f6b4d | bellard | |
---|---|---|---|
2 | 048f6b4d | bellard | /* this struct defines the way the registers are stored on the
|
3 | 048f6b4d | bellard | stack during a system call. */
|
4 | 048f6b4d | bellard | |
5 | 048f6b4d | bellard | struct target_pt_regs {
|
6 | 048f6b4d | bellard | #if 1 |
7 | 048f6b4d | bellard | /* Pad bytes for argument save space on the stack. */
|
8 | 048f6b4d | bellard | target_ulong pad0[6];
|
9 | 048f6b4d | bellard | #endif
|
10 | 048f6b4d | bellard | |
11 | 048f6b4d | bellard | /* Saved main processor registers. */
|
12 | 048f6b4d | bellard | target_ulong regs[32];
|
13 | 048f6b4d | bellard | |
14 | 048f6b4d | bellard | /* Saved special registers. */
|
15 | 048f6b4d | bellard | target_ulong cp0_status; |
16 | 048f6b4d | bellard | target_ulong lo; |
17 | 048f6b4d | bellard | target_ulong hi; |
18 | 048f6b4d | bellard | target_ulong cp0_badvaddr; |
19 | 048f6b4d | bellard | target_ulong cp0_cause; |
20 | 048f6b4d | bellard | target_ulong cp0_epc; |
21 | 048f6b4d | bellard | }; |
22 | 048f6b4d | bellard | |
23 | 048f6b4d | bellard | #define UNAME_MACHINE "mips" |