diff options
Diffstat (limited to 'linux-user/m68k')
-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 47852d546f..479758a421 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 */ |