mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-10-19 06:38:16 +02:00
hw: clean up hw/hw.h includes
Include qom/object.h and exec/memory.h instead of exec/ioport.h; exec/ioport.h was almost everywhere required only for those two includes, not for the content of the header itself. Remove block/aio.h, everybody is already including it through another path. With this change, include/hw/hw.h is freed from qemu-common.h. Backports commit df43d49cb8708b9c88a20afe0d1a3089b550a5b8 from qemu
This commit is contained in:
parent
d0d3712417
commit
9bb67a3f58
@ -6,9 +6,9 @@
|
|||||||
#error Cannot include hw/hw.h from user emulation
|
#error Cannot include hw/hw.h from user emulation
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "qemu-common.h"
|
|
||||||
#include "exec/cpu-common.h"
|
#include "exec/cpu-common.h"
|
||||||
#include "exec/ioport.h"
|
#include "qom/object.h"
|
||||||
|
#include "exec/memory.h"
|
||||||
|
|
||||||
#ifdef NEED_CPU_H
|
#ifdef NEED_CPU_H
|
||||||
#if TARGET_LONG_BITS == 64
|
#if TARGET_LONG_BITS == 64
|
||||||
|
Loading…
Reference in New Issue
Block a user