File: syscall.h

package info (click to toggle)
qemu 0.8.2-4etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 8,404 kB
  • ctags: 27,580
  • sloc: ansic: 178,992; sh: 914; objc: 613; perl: 306; makefile: 287; asm: 152
file content (23 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

/* this struct defines the way the registers are stored on the
   stack during a system call. */

struct target_pt_regs {
#if 1
	/* Pad bytes for argument save space on the stack. */
	target_ulong pad0[6];
#endif

	/* Saved main processor registers. */
	target_ulong regs[32];

	/* Saved special registers. */
	target_ulong cp0_status;
	target_ulong lo;
	target_ulong hi;
	target_ulong cp0_badvaddr;
	target_ulong cp0_cause;
	target_ulong cp0_epc;
};

#define UNAME_MACHINE "mips"