diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-08-02 15:44:30 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-08-21 14:28:45 +1000 |
commit | 69bd18f84347b1b342443601f10a55da4c87bc9d (patch) | |
tree | 1b2084ff3b7307c133896b46c151b2de529aa8c6 /include | |
parent | 878a4607049b0c073e9509b228cba5d9b7e5fa4c (diff) | |
download | qemu-69bd18f84347b1b342443601f10a55da4c87bc9d.zip qemu-69bd18f84347b1b342443601f10a55da4c87bc9d.tar.gz qemu-69bd18f84347b1b342443601f10a55da4c87bc9d.tar.bz2 |
hw/ppc/ppc405_uc: Convert away from old_mmio
Convert the devices in ppc405_uc away from using the old_mmio
MemoryRegion accessors:
* opba's 32-bit and 16-bit accessors were just calling the
8-bit accessors and assembling a big-endian order number,
which we can do by setting the .impl.max_access_size to 1
and the endianness to DEVICE_BIG_ENDIAN, and letting the
core memory code do the assembly
* ppc405_gpio's accessors were all just stubs
* ppc4xx_gpt's 8-bit and 16-bit accessors were treating the
access as invalid, which we can do by setting the
.valid.min_access_size and .valid.max_access_size fields
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions