diff options
Diffstat (limited to 'ioport.h')
| -rw-r--r-- | ioport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ioport.h b/ioport.h index ae3e9da0b5..23441cba08 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, @@ -60,6 +61,7 @@ typedef struct PortioList { struct MemoryRegion *address_space; unsigned nr; struct MemoryRegion **regions; + struct MemoryRegion **aliases; void *opaque; const char *name; } PortioList; |