target/i386: Mark WHPX APIC region as little-endian
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 12 Feb 2025 08:50:11 +0000 (09:50 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:18 +0000 (15:46 +0100)
commitdf9ae6aa84b92bb73c84194dc60f938e2495594c
tree17f1e33f0511247ab8dcd5c07da0781a345d9195
parent35487a6dc0e53b998217b0963d10c18e84c5bb28
target/i386: Mark WHPX APIC region as little-endian

This device is 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>
Message-Id: <20250212113938.38692-6-philmd@linaro.org>
target/i386/whpx/whpx-apic.c