diff options
author | Richard Henderson <rth@twiddle.net> | 2013-02-10 10:30:50 -0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-03-05 15:04:20 +0100 |
commit | 597e2cec8096e0703506abcbbf66938b5ac04368 (patch) | |
tree | 6ea470e565a38beb5655f162b43e9a4c83c0ea02 /linux-user/mips64/syscall.h | |
parent | 68473f15d4c9948986618f63828825beafcaf1cf (diff) |
mipsn32-linux-user: Configure the architecture properly
N32 is a 64-bit cpu with a 32-bit address space. We have
existing cpp defines for this situation, but weren't using them.
This does mean that the linux-user/mipsn32 directory must be
merged with the linux-user/mips64 directory, and differences
must be resolved via ifdefs.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/mips64/syscall.h')
-rw-r--r-- | linux-user/mips64/syscall.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/linux-user/mips64/syscall.h b/linux-user/mips64/syscall.h index e436ea57dc..cd707df32f 100644 --- a/linux-user/mips64/syscall.h +++ b/linux-user/mips64/syscall.h @@ -3,16 +3,16 @@ stack during a system call. */ struct target_pt_regs { - /* Saved main processor registers. */ - abi_ulong regs[32]; + /* Saved main processor registers. */ + target_ulong regs[32]; - /* Saved special registers. */ - abi_ulong cp0_status; - abi_ulong lo; - abi_ulong hi; - abi_ulong cp0_badvaddr; - abi_ulong cp0_cause; - abi_ulong cp0_epc; + /* 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; }; /* Target errno definitions taken from asm-mips/errno.h */ |