move targphys.h and hw/poison.h inclusion to cpu-common.h
With more files from outside the hw/ directory being placed into libhw, avoid the need to include hw/hw.h for the sake of targ_phys_addr_t. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
fbe3288df6
commit
37b76cfd93
@ -7,6 +7,14 @@
|
||||
#define WORDS_ALIGNED
|
||||
#endif
|
||||
|
||||
#ifdef TARGET_PHYS_ADDR_BITS
|
||||
#include "targphys.h"
|
||||
#endif
|
||||
|
||||
#ifndef NEED_CPU_H
|
||||
#include "poison.h"
|
||||
#endif
|
||||
|
||||
#include "bswap.h"
|
||||
#include "qemu-queue.h"
|
||||
|
||||
|
2
hw/hw.h
2
hw/hw.h
@ -5,8 +5,6 @@
|
||||
#include "qemu-common.h"
|
||||
|
||||
#if defined(TARGET_PHYS_ADDR_BITS) && !defined(NEED_CPU_H)
|
||||
#include "targphys.h"
|
||||
#include "poison.h"
|
||||
#include "cpu-common.h"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user