mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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
This commit is contained in:
parent
a04e134ad1
commit
198a74de4c
13 changed files with 39 additions and 38 deletions
|
@ -548,9 +548,4 @@ CPUMIPSState *cpu_mips_init(void);
|
|||
uint32_t cpu_mips_get_clock (void);
|
||||
int cpu_mips_signal_handler(int host_signum, void *pinfo, void *puc);
|
||||
|
||||
static inline target_ulong get_sp_from_cpustate(CPUMIPSState *state)
|
||||
{
|
||||
return state->gpr[29][state->current_tc];
|
||||
}
|
||||
|
||||
#endif /* !defined (__MIPS_CPU_H__) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue