mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
Temporary hack to avoid Qemu crash at PowerPC reset time.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3482 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c4781a51a5
commit
ef397e88e9
2 changed files with 18 additions and 4 deletions
8
hw/ppc.c
8
hw/ppc.c
|
@ -131,13 +131,17 @@ static void ppc6xx_set_irq (void *opaque, int pin, int level)
|
|||
case PPC6xx_INPUT_HRESET:
|
||||
/* Level sensitive - active low */
|
||||
if (level) {
|
||||
#if 0 // XXX: TOFIX
|
||||
#if defined(PPC_DEBUG_IRQ)
|
||||
if (loglevel & CPU_LOG_INT) {
|
||||
fprintf(logfile, "%s: reset the CPU\n", __func__);
|
||||
}
|
||||
#endif
|
||||
cpu_reset(env);
|
||||
env->interrupt_request |= CPU_INTERRUPT_EXITTB;
|
||||
/* XXX: TOFIX */
|
||||
#if 0
|
||||
cpu_ppc_reset(env);
|
||||
#else
|
||||
qemu_system_reset_request();
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue