Re: [Qemu-devel] [PATCH v1 13/17] arm: linux-user: don't set CPSR.E in BE32 mode

2016-02-27 Thread Peter Crosthwaite
On Tue, Jan 19, 2016 at 9:35 AM, Peter Maydell wrote: > On 19 January 2016 at 17:26, Peter Maydell wrote: >> On 18 January 2016 at 07:12, Peter Crosthwaite >> wrote: >>> Don't set CPSR.E for BE32 linux-user mode. As linux-user mode models >>> BE32, using normal BE (and system mode will not), a s

Re: [Qemu-devel] [PATCH v1 13/17] arm: linux-user: don't set CPSR.E in BE32 mode

2016-01-19 Thread Peter Maydell
On 19 January 2016 at 17:26, Peter Maydell wrote: > On 18 January 2016 at 07:12, Peter Crosthwaite > wrote: >> Don't set CPSR.E for BE32 linux-user mode. As linux-user mode models >> BE32, using normal BE (and system mode will not), a special case is >> needed for user-mode where if sctlr.b is se

Re: [Qemu-devel] [PATCH v1 13/17] arm: linux-user: don't set CPSR.E in BE32 mode

2016-01-19 Thread Peter Maydell
On 18 January 2016 at 07:12, Peter Crosthwaite wrote: > Don't set CPSR.E for BE32 linux-user mode. As linux-user mode models > BE32, using normal BE (and system mode will not), a special case is > needed for user-mode where if sctlr.b is set, the CPU identifies as BE. > > Signed-off-by: Peter Cros

[Qemu-devel] [PATCH v1 13/17] arm: linux-user: don't set CPSR.E in BE32 mode

2016-01-17 Thread Peter Crosthwaite
Don't set CPSR.E for BE32 linux-user mode. As linux-user mode models BE32, using normal BE (and system mode will not), a special case is needed for user-mode where if sctlr.b is set, the CPU identifies as BE. Signed-off-by: Peter Crosthwaite --- linux-user/main.c | 2 -- target-arm/cpu.h | 12