Revision 4917cf44 hw/mips/mips_fulong2e.c
b/hw/mips/mips_fulong2e.c | ||
---|---|---|
250 | 250 |
|
251 | 251 |
static void cpu_request_exit(void *opaque, int irq, int level) |
252 | 252 |
{ |
253 |
CPUMIPSState *env = cpu_single_env;
|
|
253 |
CPUState *cpu = current_cpu;
|
|
254 | 254 |
|
255 |
if (env && level) {
|
|
256 |
cpu_exit(CPU(mips_env_get_cpu(env)));
|
|
255 |
if (cpu && level) {
|
|
256 |
cpu_exit(cpu);
|
|
257 | 257 |
} |
258 | 258 |
} |
259 | 259 |
|
Also available in: Unified diff