From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVDeS-0003XS-1R for qemu-devel@nongnu.org; Wed, 02 Apr 2014 01:23:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVDeM-0001Ec-BT for qemu-devel@nongnu.org; Wed, 02 Apr 2014 01:23:51 -0400 Message-ID: <533B9EB5.9000301@reactos.org> Date: Wed, 02 Apr 2014 07:23:01 +0200 From: =?UTF-8?B?SGVydsOpIFBvdXNzaW5lYXU=?= MIME-Version: 1.0 References: <1396387092-5667-1-git-send-email-hpoussin@reactos.org> <1396387092-5667-3-git-send-email-hpoussin@reactos.org> <30B7EDC0-5C48-49CA-A90F-198CABCC17FB@suse.de> In-Reply-To: <30B7EDC0-5C48-49CA-A90F-198CABCC17FB@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-ppc] [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: Alexander Graf Cc: =?UTF-8?B?QW5kcmVhcyA=?= =?UTF-8?B?RsOkcmJlcg==?= , "qemu-ppc@nongnu.org" , "qemu-devel@nongnu.org" Le mer. 02 avril 2014 07:14:48 CEST, Alexander Graf a =C3=A9crit : > > >> Am 01.04.2014 um 23:18 schrieb Herv=C3=A9 Poussineau : >> >> This is easier to do this than to copy the code from the wrong entry p= oint 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##: = ; \ >> >> /* Exception vectors */ >> /* Reset exception */ >> - EXCP_BUG(0100) ; >> +.org 0x0100 >> +excp_0100: >> + lis r3,0 >> + addi r3,r3,-4 >> + mtlr r3 >> + blr > > Doesn't ba -4 work? > Yes, "ba -4" also works, I just tested it. Herv=C3=A9