mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
exec: Declare target_words_bigendian() in 'exec/tswap.h'
We usually check target endianess before swapping values, so target_words_bigendian() declaration makes sense in "exec/tswap.h" with the target swapping helpers. Remove "hw/core/cpu.h" when it was only included to get the target_words_bigendian() declaration. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Message-Id: <20231212123401.37493-16-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
77166c4568
commit
425082612c
9 changed files with 18 additions and 16 deletions
|
@ -20,11 +20,11 @@
|
|||
#include "qemu/log.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "include/qemu/lockable.h"
|
||||
#include "exec/tswap.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "trace.h"
|
||||
#include "qapi/error.h"
|
||||
#include "hw/audio/virtio-snd.h"
|
||||
#include "hw/core/cpu.h"
|
||||
|
||||
#define VIRTIO_SOUND_VM_VERSION 1
|
||||
#define VIRTIO_SOUND_JACK_DEFAULT 0
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qapi/error.h"
|
||||
#include "hw/core/cpu.h"
|
||||
#include "exec/tswap.h"
|
||||
#include "hw/core/sysemu-cpu-ops.h"
|
||||
|
||||
bool cpu_paging_enabled(const CPUState *cpu)
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/core/cpu.h"
|
||||
#include "exec/tswap.h"
|
||||
#include "sysemu/dma.h"
|
||||
#include "sysemu/reset.h"
|
||||
#include "hw/boards.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "qemu/units.h"
|
||||
#include "sysemu/reset.h"
|
||||
#include "qapi/error.h"
|
||||
#include "hw/core/cpu.h"
|
||||
#include "exec/tswap.h"
|
||||
#include "hw/display/vga.h"
|
||||
#include "hw/i386/x86.h"
|
||||
#include "hw/pci/pci.h"
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "qemu/log.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/module.h"
|
||||
#include "exec/tswap.h"
|
||||
#include "qom/object_interfaces.h"
|
||||
#include "hw/core/cpu.h"
|
||||
#include "hw/virtio/virtio.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue