Revision a541f297 linux-user/main.c
b/linux-user/main.c | ||
---|---|---|
94 | 94 |
return 0; |
95 | 95 |
} |
96 | 96 |
|
97 |
#ifdef TARGET_I386 |
|
98 |
/***********************************************************/ |
|
99 |
/* CPUX86 core interface */ |
|
100 |
|
|
101 |
int cpu_x86_get_pic_interrupt(CPUState *env) |
|
97 |
int cpu_get_pic_interrupt(CPUState *env) |
|
102 | 98 |
{ |
103 | 99 |
return -1; |
104 | 100 |
} |
105 | 101 |
|
102 |
#ifdef TARGET_I386 |
|
103 |
/***********************************************************/ |
|
104 |
/* CPUX86 core interface */ |
|
105 |
|
|
106 | 106 |
static void write_dt(void *ptr, unsigned long addr, unsigned long limit, |
107 | 107 |
int flags) |
108 | 108 |
{ |
... | ... | |
441 | 441 |
#endif |
442 | 442 |
|
443 | 443 |
#ifdef TARGET_PPC |
444 |
|
|
445 | 444 |
void cpu_loop(CPUPPCState *env) |
446 | 445 |
{ |
447 | 446 |
target_siginfo_t info; |
... | ... | |
769 | 768 |
case EXCP_INTERRUPT: |
770 | 769 |
/* Don't know why this should ever happen... */ |
771 | 770 |
break; |
771 |
case EXCP_DEBUG: |
|
772 |
break; |
|
772 | 773 |
default: |
773 | 774 |
fprintf(stderr, "qemu: unhandled CPU exception 0x%x - aborting\n", |
774 | 775 |
trapnr); |
Also available in: Unified diff