qemu-e2k/target-arm
Paul Brook d8fd295499 Userspace ARM BE8 support
Add support for ARM BE8 userspace binaries.
i.e. big-endian data and little-endian code.
In principle LE8 mode is also possible, but AFAIK has never actually
been implemented/used.

System emulation doesn't have any useable big-endian board models,
but should in principle work once you fix that.
Dynamic endianness switching requires messing with data accesses,
preferably with TCG cooperation, and is orthogonal to BE8 support.

Signed-off-by: Paul Brook <paul@codesourcery.com>
[PMM: various changes, mostly as per my suggestions in code review:
 * rebase
 * use EF_ defines rather than hardcoded constants
 * make bswap_code a bool for future VMSTATE macro compatibility
 * update comment in cpu.h about TB flags bit field usage
 * factor out load-code-and-swap into arm_ld*_code functions and
   get_user_code* macros
 * fix stray trailing space at end of line
 * added braces in disas.c to satisfy checkpatch
]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2012-04-06 19:25:57 +03:00
..
cpu-qom.h target-arm: Minimalistic CPU QOM'ification 2012-03-29 15:42:50 +00:00
cpu.c target-arm: Minimalistic CPU QOM'ification 2012-03-29 15:42:50 +00:00
cpu.h Userspace ARM BE8 support 2012-04-06 19:25:57 +03:00
helper.c Userspace ARM BE8 support 2012-04-06 19:25:57 +03:00
helper.h target-arm: Implement VFPv4 fused multiply-accumulate insns 2011-10-19 16:14:07 +00:00
iwmmxt_helper.c target-arm: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
machine.c arm: Add dummy support for co-processor 15's secure config register 2012-01-13 17:25:08 +00:00
neon_helper.c target-arm: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
op_addsub.h Correct spelling of licensed 2011-07-23 11:26:12 -05:00
op_helper.c target-arm: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
translate.c Userspace ARM BE8 support 2012-04-06 19:25:57 +03:00