On 21 April 2014 18:43, Paolo Bonzini <pbonz...@redhat.com> 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