diff options
| author | Peter Maydell | 2018-08-02 16:44:30 +0200 |
|---|---|---|
| committer | David Gibson | 2018-08-21 06:28:45 +0200 |
| commit | 69bd18f84347b1b342443601f10a55da4c87bc9d (patch) | |
| tree | 1b2084ff3b7307c133896b46c151b2de529aa8c6 /include/exec | |
| parent | hw/ppc/ppc_boards: Don't use old_mmio for ref405ep_fpga (diff) | |
| download | qemu-69bd18f84347b1b342443601f10a55da4c87bc9d.tar.gz qemu-69bd18f84347b1b342443601f10a55da4c87bc9d.tar.xz qemu-69bd18f84347b1b342443601f10a55da4c87bc9d.zip | |
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/exec')
0 files changed, 0 insertions, 0 deletions
