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