On 24 June 2015 at 11:34, Paolo Bonzini <pbonz...@redhat.com> wrote:
>
>
> On 24/06/2015 12:21, Peter Maydell wrote:
>> > I think signal_cpsr_e is exactly what you want for AArch32.  It sets
>> > CPSR.E in main and setup_return for AArch32.
>> >
>> > For AArch64 you don't need anything because, even though the kernel does
>> > trap setend and tweak SCTLR.E0E in response to it, setup_return doesn't
>> > try to restore the native endianness.
>>
>> I didn't think SETEND existed at all in AArch64?
>
> No, but the kernel traps it and flips SCTLR.E0E.

Traps what? There is no encoding in A64, unless I'm missing something...

-- PMM

Reply via email to