| 642 |
&uc->uc_sigmask); |
&uc->uc_sigmask); |
| 643 |
} |
} |
| 644 |
|
|
| 645 |
|
#elif defined(__mc68000) |
| 646 |
|
|
| 647 |
|
int cpu_signal_handler(int host_signum, struct siginfo *info, |
| 648 |
|
void *puc) |
| 649 |
|
{ |
| 650 |
|
struct ucontext *uc = puc; |
| 651 |
|
unsigned long pc; |
| 652 |
|
int is_write; |
| 653 |
|
|
| 654 |
|
pc = uc->uc_mcontext.gregs[16]; |
| 655 |
|
/* XXX: compute is_write */ |
| 656 |
|
is_write = 0; |
| 657 |
|
return handle_cpu_signal(pc, (unsigned long)info->si_addr, |
| 658 |
|
is_write, |
| 659 |
|
&uc->uc_sigmask); |
| 660 |
|
} |
| 661 |
|
|
| 662 |
#else |
#else |
| 663 |
|
|
| 664 |
#error host CPU specific signal handler needed |
#error host CPU specific signal handler needed |