]> git.proxmox.com Git - qemu.git/commitdiff
Move ioport.h out of cpu-all.h
authorPaul Brook <paul@codesourcery.com>
Mon, 1 Mar 2010 03:29:21 +0000 (03:29 +0000)
committerPaul Brook <paul@codesourcery.com>
Mon, 1 Mar 2010 03:29:21 +0000 (03:29 +0000)
Only include ioport.h where it is actually needed.

Signed-off-by: Paul Brook <paul@codesourcery.com>
cpu-all.h
hw/pc.h
target-i386/kvm.c
target-i386/op_helper.c

index 1ccc9a87b754ddd660c8257357301bb240eb794e..8488bfea9fc0d8c75647de5ea8bb79317462aaa3 100644 (file)
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -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;
diff --git a/hw/pc.h b/hw/pc.h
index 92f8563609c884d2de3f00f423e0bd84a3526e42..d54959aa59d774ffbb503b16a45ed29570f652af 100644 (file)
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -2,6 +2,7 @@
 #define HW_PC_H
 
 #include "qemu-common.h"
+#include "ioport.h"
 
 /* PC-style peripherals (also used by other machines).  */
 
index 6b741ba48993c9239987d0e26bdf0d8595b24d04..d2116a7b3fe0103ddad97b55ddb25e32607b63ee 100644 (file)
@@ -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>
index 4bb434708caac66d5ade3a68e090705a35256197..22259dfcd7971fd09dc78b1bcfa7db86a5eb37ed 100644 (file)
@@ -20,6 +20,7 @@
 #include "exec.h"
 #include "exec-all.h"
 #include "host-utils.h"
+#include "ioport.h"
 
 //#define DEBUG_PCALL