summaryrefslogtreecommitdiffstats
path: root/ioport.h
diff options
context:
space:
mode:
Diffstat (limited to 'ioport.h')
-rw-r--r--ioport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ioport.h b/ioport.h
index ab29c89..23441cb 100644
--- a/ioport.h
+++ b/ioport.h
@@ -36,6 +36,7 @@ typedef uint32_t pio_addr_t;
/* These should really be in isa.h, but are here to make pc.h happy. */
typedef void (IOPortWriteFunc)(void *opaque, uint32_t address, uint32_t data);
typedef uint32_t (IOPortReadFunc)(void *opaque, uint32_t address);
+typedef void (IOPortDestructor)(void *opaque);
void ioport_register(IORange *iorange);
int register_ioport_read(pio_addr_t start, int length, int size,
OpenPOWER on IntegriCloud