]> Git Repo - qemu.git/commit - linux-user/main.c
target-arm: implement SCTLR.B, drop bswap_code
authorPaolo Bonzini <[email protected]>
Fri, 4 Mar 2016 11:30:19 +0000 (11:30 +0000)
committerPeter Maydell <[email protected]>
Fri, 4 Mar 2016 11:30:19 +0000 (11:30 +0000)
commitf9fd40ebe4f55e0048e002925b8d65e66d56e7a7
tree17f72ea122a29d8d141271b7387e26e852bd5a77
parent49017bd8b4395ba380c45c2fc41f4353fc2f0f06
target-arm: implement SCTLR.B, drop bswap_code

bswap_code is a CPU property of sorts ("is the iside endianness the
opposite way round to TARGET_WORDS_BIGENDIAN?") but it is not the
actual CPU state involved here which is SCTLR.B (set for BE32
binaries, clear for BE8).

Replace bswap_code with SCTLR.B, and pass that to arm_ld*_code.
The next patches will make data fetches honor both SCTLR.B and
CPSR.E appropriately.

Signed-off-by: Paolo Bonzini <[email protected]>
[PC changes:
 * rebased on master (Jan 2016)
 * s/TARGET_USER_ONLY/CONFIG_USER_ONLY
 * Use bswap_code() for disas_set_info() instead of raw sctlr_b
]
Signed-off-by: Peter Crosthwaite <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
linux-user/main.c
target-arm/arm_ldst.h
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper.c
target-arm/translate-a64.c
target-arm/translate.c
target-arm/translate.h
This page took 0.025553 seconds and 4 git commands to generate.