From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV65k-0004yU-3Y for qemu-devel@nongnu.org; Tue, 01 Apr 2014 17:19:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV65e-0007kn-EV for qemu-devel@nongnu.org; Tue, 01 Apr 2014 17:19:32 -0400 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Tue, 1 Apr 2014 23:18:12 +0200 Message-Id: <1396387092-5667-3-git-send-email-hpoussin@reactos.org> In-Reply-To: <1396387092-5667-1-git-send-email-hpoussin@reactos.org> References: <1396387092-5667-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH for-2.0 2/2] ohw: let the right reset entry point 0xfff00100 jump to the currently wrong entry point (0xfffffffc) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-ppc@nongnu.org This is easier to do this than to copy the code from the wrong entry poin= t to the right entry point. Signed-off-by: Herv=C3=A9 Poussineau --- src/vectors.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/vectors.S b/src/vectors.S index 691d568..05cd1d9 100644 --- a/src/vectors.S +++ b/src/vectors.S @@ -121,7 +121,12 @@ excp_##entry##: = ; \ =20 /* Exception vectors */ /* Reset exception */ - EXCP_BUG(0100) ; +.org 0x0100 +excp_0100: + lis r3,0 + addi r3,r3,-4 + mtlr r3 + blr =20 /* Machine check exception */ EXCP_BUG(0200) ; --=20 1.7.10.4