From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55031 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpGhl-0001BN-Ev for qemu-devel@nongnu.org; Tue, 15 Feb 2011 03:56:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpGhk-0003dS-2j for qemu-devel@nongnu.org; Tue, 15 Feb 2011 03:56:17 -0500 Received: from mel.act-europe.fr ([194.98.77.210]:38706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpGhj-0003dD-T6 for qemu-devel@nongnu.org; Tue, 15 Feb 2011 03:56:15 -0500 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 00380CB01E7 for ; Tue, 15 Feb 2011 09:56:15 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B2U9wVf3AA+0 for ; Tue, 15 Feb 2011 09:56:14 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) by mel.act-europe.fr (Postfix) with ESMTP id E4010CB01D3 for ; Tue, 15 Feb 2011 09:56:14 +0100 (CET) From: Tristan Gingold Date: Tue, 15 Feb 2011 09:56:14 +0100 Message-Id: <1297760174-34495-1-git-send-email-gingold@adacore.com> Subject: [Qemu-devel] [PATCH] ppc: init_excp_7x0: fix hreset entry point. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: gingold According to the PowePC 750 user's manual, the vector offset for system reset (both /HRESET and /SRESET) is 0x00100. Signed-off-by: Tristan Gingold --- target-ppc/translate_init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 5d856f5..907535e 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -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 } -- 1.7.3.GIT