aboutsummaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2009-07-02 19:32:06 +0900
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-09 16:06:38 -0500
commit329939776005fad213086e54b038ccd39054e2bc (patch)
tree98bcd5fd7085b12c1e90b1fb8085846f0007c493 /cpu-all.h
parent89e671e3f3d5754e78efc447f13386ced719f1f7 (diff)
split out ioport related stuffs from vl.c into ioport.c.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/cpu-all.h b/cpu-all.h
index fda15ce73c..df3aa2eb48 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -837,17 +837,7 @@ void cpu_set_log_filename(const char *filename);
int cpu_str_to_log_mask(const char *str);
/* IO ports API */
-
-/* NOTE: as these functions may be even used when there is an isa
- brige on non x86 targets, we always defined them */
-#ifndef NO_CPU_IO_DEFS
-void cpu_outb(CPUState *env, int addr, int val);
-void cpu_outw(CPUState *env, int addr, int val);
-void cpu_outl(CPUState *env, int addr, int val);
-int cpu_inb(CPUState *env, int addr);
-int cpu_inw(CPUState *env, int addr);
-int cpu_inl(CPUState *env, int addr);
-#endif
+#include "ioport.h"
/* memory API */