qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/5] hw/i386: Mark devices as little-endian


From: Richard Henderson
Subject: Re: [PATCH 1/5] hw/i386: Mark devices as little-endian
Date: Thu, 7 Nov 2024 09:59:50 +0000
User-agent: Mozilla Thunderbird

On 11/6/24 18:46, Philippe Mathieu-Daudé wrote:
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>
---
  hw/i386/kvm/apic.c         | 2 +-
  hw/i386/pc.c               | 4 ++--
  hw/i386/vapic.c            | 2 +-
  hw/i386/xen/xen_apic.c     | 2 +-
  hw/i386/xen/xen_platform.c | 2 +-
  5 files changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]