Revision ef397e88 hw/ppc.c
b/hw/ppc.c | ||
---|---|---|
131 | 131 |
case PPC6xx_INPUT_HRESET: |
132 | 132 |
/* Level sensitive - active low */ |
133 | 133 |
if (level) { |
134 |
#if 0 // XXX: TOFIX |
|
135 | 134 |
#if defined(PPC_DEBUG_IRQ) |
136 | 135 |
if (loglevel & CPU_LOG_INT) { |
137 | 136 |
fprintf(logfile, "%s: reset the CPU\n", __func__); |
138 | 137 |
} |
139 | 138 |
#endif |
140 |
cpu_reset(env); |
|
139 |
env->interrupt_request |= CPU_INTERRUPT_EXITTB; |
|
140 |
/* XXX: TOFIX */ |
|
141 |
#if 0 |
|
142 |
cpu_ppc_reset(env); |
|
143 |
#else |
|
144 |
qemu_system_reset_request(); |
|
141 | 145 |
#endif |
142 | 146 |
} |
143 | 147 |
break; |
Also available in: Unified diff