[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] powerpc hang
From: |
Jon Nall |
Subject: |
Re: [Qemu-devel] powerpc hang |
Date: |
Fri, 8 Aug 2003 21:48:25 -0500 |
User-agent: |
Mutt/1.5.4i |
On Fri, Aug 08, 2003 at 08:13:35AM -0500, Jon Nall wrote:
> Question: is it safe to replace all of these with ESP since ESP should
> default to env->regs[R_ESP] if there is no AREG defined for the
> architecture? (or more generally, is it safe to replace env->regs[XXX]
> with XXX?)
i replaced all instances of env->regs[R_ESP] in helper-i386.c with ESP
(see below). this allowed me to run test-i386 to completion with no
errors! i'm attaching a full patch to get qemu working on ppc/gcc3,
which includes this change and the changes i posted previously.
NOTE: there was one instance of env->regs[E_ESP] in helper-i386.c that
went unchanged -- the one in cpu_loop_exit(), since this was setting the
register to ESP anyway.
nall.
qemu-ppc-gcc3.patch
Description: Text document
pgp2I5M1Y1hE2.pgp
Description: PGP signature