diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-27 13:57:58 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-27 13:57:58 +0000 |
commit | a04e134ad1f4271bea2c7b7649b21e35ded91005 (patch) | |
tree | ef92adda2070c7ef15473d9a10926f867e221271 /target-arm/cpu.h | |
parent | e3b9808535376bff99343c8a61726059a965198e (diff) | |
download | qemu-a04e134ad1f4271bea2c7b7649b21e35ded91005.zip qemu-a04e134ad1f4271bea2c7b7649b21e35ded91005.tar.gz qemu-a04e134ad1f4271bea2c7b7649b21e35ded91005.tar.bz2 |
linux-user sigaltstack() syscall, by Thayne Harbaugh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3252 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r-- | target-arm/cpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 76fdbb2..926aa2a 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -300,6 +300,11 @@ void cpu_arm_set_cp_io(CPUARMState *env, int cpnum, #define cpu_gen_code cpu_arm_gen_code #define cpu_signal_handler cpu_arm_signal_handler +static inline target_ulong get_sp_from_cpustate(CPUARMState *state) +{ + return state->regs[13]; +} + #include "cpu-all.h" #endif |