aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnthony Liguori <anthony@codemonkey.ws>2013-09-05 13:38:53 -0500
committerAnthony Liguori <anthony@codemonkey.ws>2013-09-05 13:38:53 -0500
commitdf7131623daf4823e087eb1128f6c1c351519774 (patch)
tree24ec77aa02ae5bacd83a404fe2e41a8e6cd4343f /include
parent863a83415750a2ee75ac1fb31405c11e71bf990b (diff)
parent2641689a37144b201814f39046e36eb285498cbe (diff)
Merge remote-tracking branch 'bonzini/iommu-for-anthony' into staging
# By Jan Kiszka (2) and others # Via Paolo Bonzini * bonzini/iommu-for-anthony: exec: do tcg_commit only when tcg_enabled Revert "memory: Return -1 again on reads from unsigned regions" memory: Provide separate handling of unassigned io ports accesses exec: check offset_within_address_space for register subpage exec: fix writing to MMIO area with non-power-of-two length Message-id: 1378401455-583-1-git-send-email-pbonzini@redhat.com
Diffstat (limited to 'include')
-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);