aboutsummaryrefslogtreecommitdiff
path: root/cpu-common.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-04-01 19:57:10 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-04-09 18:55:55 +0200
commit37b76cfd938dafc89dc609cfb2c84719357867a5 (patch)
treec99b2131b9a2312ebbd065734489c89f9159bffb /cpu-common.h
parentfbe3288df645b3b81850008327e3b714a5ca7036 (diff)
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>
Diffstat (limited to 'cpu-common.h')
-rw-r--r--cpu-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu-common.h b/cpu-common.h
index ce0221b197..b730ca033d 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@ -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"