diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 16:27:31 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 16:27:31 +0000 |
commit | 992f48a036cccf7101e31bf3e5d901ce5320e886 (patch) | |
tree | 5b7931bab0c9d92c266f87c0457b864cdd8b256b /linux-user/alpha | |
parent | b227a8e9aa5f27d29f77ba90d5eb9d0662a1175e (diff) |
Support for 32 bit ABI on 64 bit targets (only enabled Sparc64)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3396 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/alpha')
-rw-r--r-- | linux-user/alpha/syscall.h | 62 | ||||
-rw-r--r-- | linux-user/alpha/target_signal.h | 8 |
2 files changed, 35 insertions, 35 deletions
diff --git a/linux-user/alpha/syscall.h b/linux-user/alpha/syscall.h index 6435817881..394afec56c 100644 --- a/linux-user/alpha/syscall.h +++ b/linux-user/alpha/syscall.h @@ -2,40 +2,40 @@ #define __USER_DS (1) struct target_pt_regs { - target_ulong r0; - target_ulong r1; - target_ulong r2; - target_ulong r3; - target_ulong r4; - target_ulong r5; - target_ulong r6; - target_ulong r7; - target_ulong r8; - target_ulong r19; - target_ulong r20; - target_ulong r21; - target_ulong r22; - target_ulong r23; - target_ulong r24; - target_ulong r25; - target_ulong r26; - target_ulong r27; - target_ulong r28; - target_ulong hae; + abi_ulong r0; + abi_ulong r1; + abi_ulong r2; + abi_ulong r3; + abi_ulong r4; + abi_ulong r5; + abi_ulong r6; + abi_ulong r7; + abi_ulong r8; + abi_ulong r19; + abi_ulong r20; + abi_ulong r21; + abi_ulong r22; + abi_ulong r23; + abi_ulong r24; + abi_ulong r25; + abi_ulong r26; + abi_ulong r27; + abi_ulong r28; + abi_ulong hae; /* JRP - These are the values provided to a0-a2 by PALcode */ - target_ulong trap_a0; - target_ulong trap_a1; - target_ulong trap_a2; + abi_ulong trap_a0; + abi_ulong trap_a1; + abi_ulong trap_a2; /* These are saved by PAL-code: */ - target_ulong ps; - target_ulong pc; - target_ulong gp; - target_ulong r16; - target_ulong r17; - target_ulong r18; + abi_ulong ps; + abi_ulong pc; + abi_ulong gp; + abi_ulong r16; + abi_ulong r17; + abi_ulong r18; /* Those is needed by qemu to temporary store the user stack pointer */ - target_ulong usp; - target_ulong unique; + abi_ulong usp; + abi_ulong unique; }; #define UNAME_MACHINE "alpha" diff --git a/linux-user/alpha/target_signal.h b/linux-user/alpha/target_signal.h index 7618c3e83b..2382ffdb6e 100644 --- a/linux-user/alpha/target_signal.h +++ b/linux-user/alpha/target_signal.h @@ -6,9 +6,9 @@ /* this struct defines a stack used during syscall handling */ typedef struct target_sigaltstack { - target_ulong ss_sp; - target_long ss_flags; - target_ulong ss_size; + abi_ulong ss_sp; + abi_long ss_flags; + abi_ulong ss_size; } target_stack_t; @@ -21,7 +21,7 @@ typedef struct target_sigaltstack { #define TARGET_MINSIGSTKSZ 4096 #define TARGET_SIGSTKSZ 16384 -static inline target_ulong get_sp_from_cpustate(CPUAlphaState *state) +static inline abi_ulong get_sp_from_cpustate(CPUAlphaState *state) { return state->ir[IR_SP]; } |