mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/m68k: Mark devices as big-endian
These devices are only used by the M68K target, which is only built as big-endian. Therefore the DEVICE_NATIVE_ENDIAN definition expand to DEVICE_BIG_ENDIAN (besides, the DEVICE_LITTLE_ENDIAN case isn't tested). Simplify directly using DEVICE_BIG_ENDIAN. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20241106184612.71897-4-philmd@linaro.org> Signed-off-by: Thomas Huth <huth@tuxfamily.org>
This commit is contained in:
parent
2b7a80e07a
commit
17df47e87c
4 changed files with 6 additions and 6 deletions
|
@ -166,7 +166,7 @@ static void mcf_intc_reset(DeviceState *dev)
|
|||
static const MemoryRegionOps mcf_intc_ops = {
|
||||
.read = mcf_intc_read,
|
||||
.write = mcf_intc_write,
|
||||
.endianness = DEVICE_NATIVE_ENDIAN,
|
||||
.endianness = DEVICE_BIG_ENDIAN,
|
||||
};
|
||||
|
||||
static void mcf_intc_instance_init(Object *obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue