qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix PReP NIP reset value


From: Fabien Chouteau
Subject: [Qemu-devel] [PATCH] Fix PReP NIP reset value
Date: Tue, 30 Apr 2013 17:07:04 +0200

The value was changed by the "PPC: fix hreset_vector..." patch.

Signed-off-by: Fabien Chouteau <address@hidden>
---
 hw/ppc/prep.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index cceab3e..2d0c4fe 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
@@ -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 */
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]