diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-18 01:46:39 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-18 01:46:39 +0000 |
commit | b28c91e6cd050c78bf7d1caf842d85984ff7badc (patch) | |
tree | a53bbab841e717cf526d866a76b85d087a66646a | |
parent | ccf7aa52aad631e1db1bbda8f3a3784ef3cd182b (diff) | |
download | qemu-b28c91e6cd050c78bf7d1caf842d85984ff7badc.zip qemu-b28c91e6cd050c78bf7d1caf842d85984ff7badc.tar.gz qemu-b28c91e6cd050c78bf7d1caf842d85984ff7badc.tar.bz2 |
m68k missing get_sp_from_cpustate(), by Thayne Harbaugh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3836 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | linux-user/m68k/target_signal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/m68k/target_signal.h b/linux-user/m68k/target_signal.h index 47852d5..479758a 100644 --- a/linux-user/m68k/target_signal.h +++ b/linux-user/m68k/target_signal.h @@ -21,4 +21,9 @@ typedef struct target_sigaltstack { #define TARGET_MINSIGSTKSZ 2048 #define TARGET_SIGSTKSZ 8192 +static inline abi_ulong get_sp_from_cpustate(CPUM68KState *state) +{ + return state->aregs[7]; +} + #endif /* TARGET_SIGNAL_H */ |