From 198a74de4c61d3486c365f09361c605daab90af5 Mon Sep 17 00:00:00 2001 From: ths Date: Thu, 27 Sep 2007 16:44:32 +0000 Subject: Move get_sp_from_cpustate from cpu.h to target_signal.h. Enable sigaltstack processing for more architectures. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3253 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sparc/cpu.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'target-sparc') diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index cb67271..5c8c49a 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -316,18 +316,6 @@ void cpu_check_irqs(CPUSPARCState *env); #define cpu_gen_code cpu_sparc_gen_code #define cpu_signal_handler cpu_sparc_signal_handler -#ifndef UREG_I6 -#define UREG_I6 6 -#endif -#ifndef UREG_FP -#define UREG_FP UREG_I6 -#endif - -static inline target_ulong get_sp_from_cpustate(CPUSPARCState *state) -{ - return state->regwptr[UREG_FP]; -} - #include "cpu-all.h" #endif -- cgit v1.1