Revision 4917cf44 hw/mips/mips_jazz.c
b/hw/mips/mips_jazz.c | ||
---|---|---|
99 | 99 |
|
100 | 100 |
static void cpu_request_exit(void *opaque, int irq, int level) |
101 | 101 |
{ |
102 |
CPUMIPSState *env = cpu_single_env;
|
|
102 |
CPUState *cpu = current_cpu;
|
|
103 | 103 |
|
104 |
if (env && level) {
|
|
105 |
cpu_exit(CPU(mips_env_get_cpu(env)));
|
|
104 |
if (cpu && level) {
|
|
105 |
cpu_exit(cpu);
|
|
106 | 106 |
} |
107 | 107 |
} |
108 | 108 |
|
Also available in: Unified diff