aboutsummaryrefslogtreecommitdiff
path: root/ioport.h
diff options
context:
space:
mode:
Diffstat (limited to 'ioport.h')
-rw-r--r--ioport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ioport.h b/ioport.h
index 3d3c8a3efd..5ae62a3a2c 100644
--- a/ioport.h
+++ b/ioport.h
@@ -25,6 +25,7 @@
#define IOPORT_H
#include "qemu-common.h"
+#include "iorange.h"
typedef uint32_t pio_addr_t;
#define FMT_pioaddr PRIx32
@@ -36,6 +37,7 @@ typedef uint32_t pio_addr_t;
typedef void (IOPortWriteFunc)(void *opaque, uint32_t address, uint32_t data);
typedef uint32_t (IOPortReadFunc)(void *opaque, uint32_t address);
+void ioport_register(IORange *iorange);
int register_ioport_read(pio_addr_t start, int length, int size,
IOPortReadFunc *func, void *opaque);
int register_ioport_write(pio_addr_t start, int length, int size,