openbsd-ports/emulators/qemu/patches/patch-target-sparc_cpu_h
todd 9993d5d566 update to 0.8.0, see qemu.org for full ChangeLog
for OpenBSD, amd64 simulation on i386 appars to work ok now
2005-12-27 07:56:14 +00:00

17 lines
491 B
Plaintext

$OpenBSD: patch-target-sparc_cpu_h,v 1.3 2005/12/27 07:56:15 todd Exp $
--- target-sparc/cpu.h.orig Mon Dec 19 16:51:53 2005
+++ target-sparc/cpu.h Tue Dec 20 08:06:20 2005
@@ -269,8 +269,12 @@ void cpu_set_cwp(CPUSPARCState *env1, in
} while (0)
#endif
+#ifdef _BSD
+int cpu_sparc_signal_handler(int hostsignum, qemu_siginfo *info, void *puc);
+#else
struct siginfo;
int cpu_sparc_signal_handler(int hostsignum, struct siginfo *info, void *puc);
+#endif
#include "cpu-all.h"