[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu on mips patch
From: |
Jun Peng |
Subject: |
Re: [Qemu-devel] qemu on mips patch |
Date: |
Sat, 2 Jun 2007 21:58:04 +0800 |
Sorry, sorry, I did send a wrony "cpu_signal_handler()"!
in cpu-exec.c:
#include <sys/user.h>
int cpu_signal_handler(int host_signum, void *pinfo,
void *puc)
{
siginfo_t *info = pinfo;
struct ucontext *uc = puc;
unsigned long pc;
int is_write;
pc = uc->uc_mcontext.pc;
/* XXX: compute is_write */
is_write = 0;
return handle_cpu_signal(pc, (unsigned long)info->si_addr,
is_write,
&uc->uc_sigmask, puc);
}