* [Qemu-devel] [PATCH] m68k missing get_sp_from_cpustate()
@ 2007-12-12 19:11 Thayne Harbaugh
0 siblings, 0 replies; only message in thread
From: Thayne Harbaugh @ 2007-12-12 19:11 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 61 bytes --]
This patch adds the missing get_sp_from_cpustate() for m68k.
[-- Attachment #2: 03_m68k_get_sp_from_cpustate.patch --]
[-- Type: text/x-patch, Size: 488 bytes --]
Index: qemu/linux-user/m68k/target_signal.h
===================================================================
--- qemu.orig/linux-user/m68k/target_signal.h 2007-12-11 10:33:23.000000000 -0700
+++ qemu/linux-user/m68k/target_signal.h 2007-12-11 10:33:54.000000000 -0700
@@ -21,4 +21,9 @@
#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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-12 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 19:11 [Qemu-devel] [PATCH] m68k missing get_sp_from_cpustate() Thayne Harbaugh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).