]> Git Repo - qemu.git/blobdiff - target-i386/cpu.h
linux-user sigaltstack() syscall, by Thayne Harbaugh.
[qemu.git] / target-i386 / cpu.h
index 2cc7d64e95ae290b5a2ed551686cf909062411ed..4f454c6e9e409269d771b9fffe587a590cc4a36f 100644 (file)
@@ -688,6 +688,11 @@ static inline int cpu_get_time_fast(void)
 #define cpu_gen_code cpu_x86_gen_code
 #define cpu_signal_handler cpu_x86_signal_handler
 
+static inline target_ulong get_sp_from_cpustate(CPUX86State *state)
+{
+    return state->regs[R_ESP];
+}
+
 #include "cpu-all.h"
 
 #include "svm.h"
This page took 0.022744 seconds and 4 git commands to generate.