diff options
Diffstat (limited to 'emulators/qemu/patches/patch-ai')
-rw-r--r-- | emulators/qemu/patches/patch-ai | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/qemu/patches/patch-ai b/emulators/qemu/patches/patch-ai new file mode 100644 index 00000000000..242d5610a4e --- /dev/null +++ b/emulators/qemu/patches/patch-ai @@ -0,0 +1,20 @@ +$NetBSD: patch-ai,v 1.1.1.1 2004/11/09 13:05:34 xtraeme Exp $ + +--- target-ppc/cpu.h.orig 2004-07-10 21:20:09.000000000 +0300 ++++ target-ppc/cpu.h +@@ -182,9 +182,15 @@ void cpu_ppc_close(CPUPPCState *s); + /* you can call this signal handler from your SIGBUS and SIGSEGV + signal handlers to inform the virtual CPU of exceptions. non zero + is returned if the signal was handled by the virtual CPU. */ ++#ifdef __NetBSD__ ++union siginfo; ++int cpu_ppc_signal_handler(int host_signum, union siginfo *info, ++ void *puc); ++#else + struct siginfo; + int cpu_ppc_signal_handler(int host_signum, struct siginfo *info, + void *puc); ++#endif + + void do_interrupt (CPUPPCState *env); + void cpu_loop_exit(void); |