aboutsummaryrefslogtreecommitdiff
path: root/include/exec/ioport.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/exec/ioport.h')
-rw-r--r--include/exec/ioport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/exec/ioport.h b/include/exec/ioport.h
index bdd4e964eb..b3848be684 100644
--- a/include/exec/ioport.h
+++ b/include/exec/ioport.h
@@ -45,6 +45,10 @@ typedef struct MemoryRegionPortio {
#define PORTIO_END_OF_LIST() { }
+#ifndef CONFIG_USER_ONLY
+extern const MemoryRegionOps unassigned_io_ops;
+#endif
+
void cpu_outb(pio_addr_t addr, uint8_t val);
void cpu_outw(pio_addr_t addr, uint16_t val);
void cpu_outl(pio_addr_t addr, uint32_t val);