From: Mark Cave-Ayland Date: Tue, 12 Jul 2022 21:52:42 +0000 (+0100) Subject: lasips2: switch register memory region to DEVICE_BIG_ENDIAN X-Git-Tag: v7.1.0-rc0~14^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ee1b52db1a22dee7856b140b31fae221f72629c;p=thirdparty%2Fqemu.git lasips2: switch register memory region to DEVICE_BIG_ENDIAN The LASI device (and so also the LASIPS2 device) are only used for the HPPA B160L machine which is a big endian architecture. Signed-off-by: Mark Cave-Ayland Tested-by: Helge Deller Acked-by: Helge Deller Reviewed-by: Peter Maydell Message-Id: <20220712215251.7944-32-mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/hw/input/lasips2.c b/hw/input/lasips2.c index 09d909c843a..7bf6077b587 100644 --- a/hw/input/lasips2.c +++ b/hw/input/lasips2.c @@ -245,7 +245,7 @@ static const MemoryRegionOps lasips2_reg_ops = { .min_access_size = 1, .max_access_size = 4, }, - .endianness = DEVICE_NATIVE_ENDIAN, + .endianness = DEVICE_BIG_ENDIAN, }; static void lasips2_realize(DeviceState *dev, Error **errp)