diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-06 18:46:10 +0000 |
|---|---|---|
| committer | Thomas Huth <huth@tuxfamily.org> | 2024-12-29 06:31:01 +0100 |
| commit | 17df47e87c8f71e57cb327fd720af23c39949304 (patch) | |
| tree | a5ea365bbaa6671c662b10e57d2cdd5f80f8332c /hw/m68k/next-kbd.c | |
| parent | 2b7a80e07a29074530a0ebc8005a418ee07b1faf (diff) | |
| download | focaccia-qemu-17df47e87c8f71e57cb327fd720af23c39949304.tar.gz focaccia-qemu-17df47e87c8f71e57cb327fd720af23c39949304.zip | |
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>
Diffstat (limited to 'hw/m68k/next-kbd.c')
| -rw-r--r-- | hw/m68k/next-kbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/next-kbd.c b/hw/m68k/next-kbd.c index dacc26413f..68b17786b2 100644 --- a/hw/m68k/next-kbd.c +++ b/hw/m68k/next-kbd.c @@ -162,7 +162,7 @@ static const MemoryRegionOps kbd_ops = { .write = kbd_writefn, .valid.min_access_size = 1, .valid.max_access_size = 4, - .endianness = DEVICE_NATIVE_ENDIAN, + .endianness = DEVICE_BIG_ENDIAN, }; static const int qcode_to_nextkbd_keycode[] = { |