qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/3] target-arm: implement setend


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 3/3] target-arm: implement setend
Date: Mon, 21 Apr 2014 21:33:50 +0100

On 21 April 2014 18:43, Paolo Bonzini <address@hidden> wrote:
> Since this is not a high-performance path, just use a helper to
> flip the E bit and force a lookup in the hash table since the
> flags have changed.

If we take an exception while the E bit is set we'll now incorrectly
start executing the exception handler in big-endian mode.
Minimally, we need to force "always little endian". Ideally, we
would implement SCTLR.EE correctly.

Also worth checking: in linux-user mode, if the guest executes
SETEND and then takes a signal, what does the Linux ABI say
should be the value of CPSR.E on entry to the signal handler,
and do we get it right?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]