diff options
author | Paul Brook <paul@codesourcery.com> | 2010-03-01 03:29:21 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-03-01 03:29:21 +0000 |
commit | 35bed8ee918b519caca37f99f741b2740a040da3 (patch) | |
tree | 41366f85097c9adcd5833646917a6bc9fffaef97 | |
parent | a68fe89caf9e267672aedab578152664f1b8c09b (diff) |
Move ioport.h out of cpu-all.h
Only include ioport.h where it is actually needed.
Signed-off-by: Paul Brook <paul@codesourcery.com>
-rw-r--r-- | cpu-all.h | 3 | ||||
-rw-r--r-- | hw/pc.h | 1 | ||||
-rw-r--r-- | target-i386/kvm.c | 1 | ||||
-rw-r--r-- | target-i386/op_helper.c | 1 |
4 files changed, 3 insertions, 3 deletions
@@ -840,9 +840,6 @@ void cpu_set_log(int log_flags); void cpu_set_log_filename(const char *filename); int cpu_str_to_log_mask(const char *str); -/* IO ports API */ -#include "ioport.h" - /* memory API */ extern int phys_ram_fd; @@ -2,6 +2,7 @@ #define HW_PC_H #include "qemu-common.h" +#include "ioport.h" /* PC-style peripherals (also used by other machines). */ diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 6b741ba489..d2116a7b3f 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -25,6 +25,7 @@ #include "gdbstub.h" #include "host-utils.h" #include "hw/pc.h" +#include "ioport.h" #ifdef CONFIG_KVM_PARA #include <linux/kvm_para.h> diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 4bb434708c..22259dfcd7 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -20,6 +20,7 @@ #include "exec.h" #include "exec-all.h" #include "host-utils.h" +#include "ioport.h" //#define DEBUG_PCALL |