hw/i386: Mark devices as little-endian
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 6 Nov 2024 17:45:11 +0000 (17:45 +0000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 31 Dec 2024 20:21:34 +0000 (21:21 +0100)
commita115ab5ba30ae78efdf346df594940042b69aa27
tree6284fa1c96c1126f2316fd081dfe243b70abbef3
parent8f27e70e3bcffe3e3d7236f62d50156555043061
hw/i386: Mark devices as little-endian

These devices are only used by the X86 targets, which are only
built as little-endian. Therefore the DEVICE_NATIVE_ENDIAN
definition expand to DEVICE_LITTLE_ENDIAN (besides, the
DEVICE_BIG_ENDIAN case isn't tested). Simplify directly using
DEVICE_LITTLE_ENDIAN.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20241106184612.71897-2-philmd@linaro.org>
hw/i386/kvm/apic.c
hw/i386/pc.c
hw/i386/vapic.c
hw/i386/xen/xen_apic.c
hw/i386/xen/xen_platform.c