mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-16 14:41:55 -06:00
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>
This commit is contained in:
parent
35487a6dc0
commit
df9ae6aa84
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ static void whpx_apic_mem_write(void *opaque, hwaddr addr,
|
|||
static const MemoryRegionOps whpx_apic_io_ops = {
|
||||
.read = whpx_apic_mem_read,
|
||||
.write = whpx_apic_mem_write,
|
||||
.endianness = DEVICE_NATIVE_ENDIAN,
|
||||
.endianness = DEVICE_LITTLE_ENDIAN,
|
||||
};
|
||||
|
||||
static void whpx_apic_reset(APICCommonState *s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue