Skip to contentSkip to conversation

ppc: init_excp_7x0: fix hreset entry point.

PATCH New Tristan Gingold 1 participant 1 message Feb 15, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc: init_excp_7x0: fix hreset entry point.

From: gingold <gingold@020d506d-db78-4e55-b2a8-6c851f84c332>

According to the PowePC 750 user's manual, the vector offset for system reset (both /HRESET and /SRESET) is 0x00100.

---
 target-ppc/translate_init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
target-ppc/translate_init.c +1 -1
index 5d856f5..907535e 100644
@@ -2925,7 +2925,7 @@ static void init_excp_7x0 (CPUPPCState *env)
     env->excp_vectors[POWERPC_EXCP_THERM]    = 0x00001700;
     env->hreset_excp_prefix = 0x00000000UL;
     /* Hardware reset vector */
-    env->hreset_vector = 0xFFFFFFFCUL;
+    env->hreset_vector = 0xFFF00100UL;
 #endif
 }
 
Signature · 1 line
1.7.3.GIT