mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
mips user emulation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1668 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
eeef26cd42
commit
048f6b4df7
10 changed files with 1167 additions and 18 deletions
23
linux-user/mips/syscall.h
Normal file
23
linux-user/mips/syscall.h
Normal file
|
|
@ -0,0 +1,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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue