Commit b28c91e6cd050c78bf7d1caf842d85984ff7badc
1 parent
ccf7aa52
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
Showing
1 changed file
with
5 additions
and
0 deletions
linux-user/m68k/target_signal.h
| @@ -21,4 +21,9 @@ typedef struct target_sigaltstack { | @@ -21,4 +21,9 @@ typedef struct target_sigaltstack { | ||
| 21 | #define TARGET_MINSIGSTKSZ 2048 | 21 | #define TARGET_MINSIGSTKSZ 2048 |
| 22 | #define TARGET_SIGSTKSZ 8192 | 22 | #define TARGET_SIGSTKSZ 8192 |
| 23 | 23 | ||
| 24 | +static inline abi_ulong get_sp_from_cpustate(CPUM68KState *state) | ||
| 25 | +{ | ||
| 26 | + return state->aregs[7]; | ||
| 27 | +} | ||
| 28 | + | ||
| 24 | #endif /* TARGET_SIGNAL_H */ | 29 | #endif /* TARGET_SIGNAL_H */ |