Received: from eggs.gnu.org ([208.118.235.92]:47225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKqkZ-0005sy-Du for qemu-devel@nongnu.org; Wed, 27 Mar 2013 09:50:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKqkS-0003CL-Q7 for qemu-devel@nongnu.org; Wed, 27 Mar 2013 09:50:47 -0400 From: Fabien Chouteau Date: Wed, 27 Mar 2013 14:50:35 +0100 Message-Id: <1364392235-6193-1-git-send-email-chouteau@adacore.com> Subject: [Qemu-devel] [PATCH] PPC: init_excp_7x0: fix hreset entry point. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, agraf@suse.de According to the PowePC 750 user's manual, the vector offset for system reset (both /HRESET and /SRESET) is 0x00100. Signed-off-by: Fabien Chouteau --- target-ppc/translate_init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 781170f..a5bae1e 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -2885,7 +2885,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 } @@ -2931,7 +2931,7 @@ static void init_excp_750cx (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 } @@ -2959,7 +2959,7 @@ static void init_excp_7x5 (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 } @@ -2985,7 +2985,7 @@ static void init_excp_7400 (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 } -- 1.7.9.5