From patchwork Wed Apr 23 21:19:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Herv=C3=A9_Poussineau?= X-Patchwork-Id: 342011 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 804691400EC for ; Thu, 24 Apr 2014 07:50:24 +1000 (EST) Received: from localhost ([::1]:34755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd4bm-0001fs-8v for incoming@patchwork.ozlabs.org; Wed, 23 Apr 2014 17:21:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd4b6-0000OF-P3 for qemu-devel@nongnu.org; Wed, 23 Apr 2014 17:20:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wd4b2-0003R8-01 for qemu-devel@nongnu.org; Wed, 23 Apr 2014 17:20:52 -0400 Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]:22534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd4b1-0003Qv-Hn; Wed, 23 Apr 2014 17:20:47 -0400 Received: from localhost.localdomain (unknown [82.227.227.196]) by smtp3-g21.free.fr (Postfix) with ESMTP id 56EF0A6209; Wed, 23 Apr 2014 23:20:24 +0200 (CEST) From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= To: qemu-devel@nongnu.org Date: Wed, 23 Apr 2014 23:19:35 +0200 Message-Id: <1398287975-14684-3-git-send-email-hpoussin@reactos.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1398287975-14684-1-git-send-email-hpoussin@reactos.org> References: <1398287975-14684-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:e0c:1:1599::12 Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-ppc@nongnu.org Subject: [Qemu-devel] [PATCH v2 2/2] ohw: let the right reset entry point 0xfff00100 jump to the currently wrong entry point (0xfffffffc) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This is easier to do this than to copy the code from the wrong entry point to the right entry point. Suggested-by: Alexander Graf Signed-off-by: Hervé Poussineau Acked-by: Alexander Graf --- src/vectors.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vectors.S b/src/vectors.S index 691d568..1c1bfee 100644 --- a/src/vectors.S +++ b/src/vectors.S @@ -121,7 +121,9 @@ excp_##entry##: ; \ /* Exception vectors */ /* Reset exception */ - EXCP_BUG(0100) ; +.org 0x0100 +excp_0100: + ba 0xfffffffc /* Machine check exception */ EXCP_BUG(0200) ;