summary refs log tree commit diff stats
path: root/include/qapi/qmp/json-parser.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-08-02 15:44:30 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-08-21 14:28:45 +1000
commit69bd18f84347b1b342443601f10a55da4c87bc9d (patch)
tree1b2084ff3b7307c133896b46c151b2de529aa8c6 /include/qapi/qmp/json-parser.h
parent878a4607049b0c073e9509b228cba5d9b7e5fa4c (diff)
downloadfocaccia-qemu-69bd18f84347b1b342443601f10a55da4c87bc9d.tar.gz
focaccia-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/qapi/qmp/json-parser.h')
0 files changed, 0 insertions, 0 deletions