summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLaszlo Ersek2014-12-22 13:11:38 +0100
committerPeter Maydell2014-12-23 00:39:16 +0100
commitd789c84547abaaf82828b20998aee618b9327261 (patch)
treec497d5b64af23d9222db9b5c36ee7753fd044b1a /include
parentfw_cfg_mem: max access size and region size are the same for data register (diff)
downloadqemu-d789c84547abaaf82828b20998aee618b9327261.tar.gz
qemu-d789c84547abaaf82828b20998aee618b9327261.tar.xz
qemu-d789c84547abaaf82828b20998aee618b9327261.zip
fw_cfg_mem: flip ctl_mem_ops and data_mem_ops to DEVICE_BIG_ENDIAN
The standalone selector port (fw_cfg_ctl_mem_ops) is only used by big endian guests to date (*), hence this change doesn't regress them. Paolo and Alex have suggested / requested an explicit DEVICE_BIG_ENDIAN setting here, for clarity. (*) git grep -l fw_cfg_init_mem hw/nvram/fw_cfg.c hw/ppc/mac_newworld.c hw/ppc/mac_oldworld.c hw/sparc/sun4m.c include/hw/nvram/fw_cfg.h The standalone data port (fw_cfg_data_mem_ops) has max_access_size 1 (for now), hence changing its endianness doesn't change behavior for existing guest code. Signed-off-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1419250305-31062-5-git-send-email-pbonzini@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions