summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-08-02 14:19:25 +0100
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-08-08 23:43:11 +0200
commit09d12c81ec5d8dc9208e5739d17a56c34be96247 (patch)
treed40a96be4fe7863778f654666e3aae2bd5c979f1 /linux-user/syscall.c
parentbd64c210ce2bebba993ee49d34327706ec47f685 (diff)
downloadfocaccia-qemu-09d12c81ec5d8dc9208e5739d17a56c34be96247.tar.gz
focaccia-qemu-09d12c81ec5d8dc9208e5739d17a56c34be96247.zip
hw/misc/grlib_ahb_apb_pnp: Support 8 and 16 bit accesses
In real hardware, the APB and AHB PNP data tables can be accessed
with byte and halfword reads as well as word reads.  Our
implementation currently only handles word reads.  Add support for
the 8 and 16 bit accesses.  Note that we only need to handle aligned
accesses -- unaligned accesses should continue to trap, as happens on
hardware.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1132
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Frederic Konrad <fkonrad@amd.com>
Message-Id: <20220802131925.3380923-1-peter.maydell@linaro.org>
Tested-by: Tomasz Martyniak <gitlab.com/tom4r>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions