qemu-e2k/include
Julian Brown f7478a92dd Fix Thumb-1 BE32 execution and disassembly.
Thumb-1 code has some issues in BE32 mode (as currently implemented). In
short, since bytes are swapped within words at load time for BE32
executables, this also swaps pairs of adjacent Thumb-1 instructions.

This patch un-swaps those pairs of instructions again, both for execution,
and for disassembly. (The previous version of the patch always read four
bytes in arm_read_memory_func and then extracted the proper two bytes,
in a probably misguided attempt to match the behaviour of actual hardware
as described by e.g. the ARM9TDMI TRM, section 3.3 "Endian effects for
instruction fetches". It's less complicated to just read the correct
two bytes though.)

Signed-off-by: Julian Brown <julian@codesourcery.com>
Message-id: ca20462a044848000370318a8bd41dd0a4ed273f.1484929304.git.julian@codesourcery.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-02-07 18:29:59 +00:00
..
block block: Fix target variable of BLKSECTGET ioctl 2017-01-27 18:07:31 +01:00
crypto
disas Fix Thumb-1 BE32 execution and disassembly. 2017-02-07 18:29:59 +00:00
exec trace: switch to modular code generation for sub-directories 2017-01-31 17:11:18 +00:00
fpu target-ppc: Add xscvdphp, xscvhpdp 2017-01-31 10:10:14 +11:00
hw aspeed: add a watchdog controller 2017-02-07 18:29:59 +00:00
io
libdecnumber
migration migration: Check for ID length 2017-02-06 13:36:49 +01:00
monitor char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
net
qapi
qemu ppc patch queue 2017-02-02 2017-02-02 18:48:06 +00:00
qom
standard-headers
sysemu char: headers clean-up 2017-01-31 23:31:22 +04:00
ui chardev: qom-ify 2017-01-27 18:08:00 +01:00
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
trace-tcg.h