Displaying 3 results from an estimated 3 matches for "virtio_portio".
2012 Mar 19
1
[PATCHv2] virtio-pci: add MMIO property
...++++++++++++++++++++++++++++++++++++++++++++++++++-
hw/virtio-pci.h | 5 ++++
2 files changed, 71 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index 28498ec..b061000 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -510,8 +510,58 @@ const MemoryRegionPortio virtio_portio[] = {
PORTIO_END_OF_LIST()
};
+static void virtio_pci_config_mmio_writeb(void *opaque, target_phys_addr_t addr, uint32_t val)
+{
+ VirtIOPCIProxy *proxy = opaque;
+ virtio_pci_config_writeb(opaque, addr & proxy->bar0_mask, val);
+}
+
+static void virtio_pci_config_mmio_writew(v...
2012 Mar 19
1
[PATCHv2] virtio-pci: add MMIO property
...++++++++++++++++++++++++++++++++++++++++++++++++++-
hw/virtio-pci.h | 5 ++++
2 files changed, 71 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index 28498ec..b061000 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -510,8 +510,58 @@ const MemoryRegionPortio virtio_portio[] = {
PORTIO_END_OF_LIST()
};
+static void virtio_pci_config_mmio_writeb(void *opaque, target_phys_addr_t addr, uint32_t val)
+{
+ VirtIOPCIProxy *proxy = opaque;
+ virtio_pci_config_writeb(opaque, addr & proxy->bar0_mask, val);
+}
+
+static void virtio_pci_config_mmio_writew(v...
2012 Oct 08
21
[PATCH 00/14] Remove old_portio users for memory region PIO mapping
When running on PowerPC, we don''t have native PIO support. There are a few hacks
around to enable PIO access on PowerPC nevertheless.
The most typical one is the isa-mmio device. It takes MMIO requests and converts
them to PIO requests on the (QEMU internal) PIO bus.
This however is not how real hardware works and it limits us in the ability to
spawn eventfd''s on PIO ports