Il 22/04/2014 09:01, Peter Maydell ha scritto:
On 22 April 2014 03:42, Paolo Bonzini <pbonz...@redhat.com> wrote:
Il 21/04/2014 18:08, Peter Maydell ha scritto:
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.
I'll look into SCTLR.
Note that SCTLR.EE also sets the endianness for loads done
for translation table walks and so on.
I guess also v7m_push and v7m_pop. I'm changing basically all ldX_phys
and stX_phys in target-arm/helper.c to obey SCTLR.EE.
Paolo