mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 22:33:36 +08:00
prep: Fix NIP reset value
The value was changed by commit 09d9828ace
"PPC: fix hreset_vector for 60x, ...".
Change it back for prep machine to unbreak OpenHack'Ware.
Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
This commit is contained in:
parent
467b34689d
commit
88432756ea
@ -427,6 +427,9 @@ static void ppc_prep_reset(void *opaque)
|
||||
PowerPCCPU *cpu = opaque;
|
||||
|
||||
cpu_reset(CPU(cpu));
|
||||
|
||||
/* Reset address */
|
||||
cpu->env.nip = 0xfffffffc;
|
||||
}
|
||||
|
||||
/* PowerPC PREP hardware initialisation */
|
||||
|
Loading…
Reference in New Issue
Block a user