search for: virtio_pci_cap_add

Displaying 3 results from an estimated 3 matches for "virtio_pci_cap_add".

2013 May 28
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...e_config(PCIDevice *pci_dev, uint32_t address, uint32_t val, int len) { @@ -949,11 +1216,49 @@ static const TypeInfo virtio_9p_pci_info = { * virtio-pci: This is the PCIDevice which has a virtio-pci-bus. */ +#define VIRTIO_PCI_CONFIG_BAR_NUM 2 + +static void *virtio_pci_cap_add(VirtIOPCIProxy *proxy, + const char *name, + MemoryRegion *reg, + const MemoryRegionOps *ops, + unsigned offset, + unsigned size, +...
2013 May 28
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...e_config(PCIDevice *pci_dev, uint32_t address, uint32_t val, int len) { @@ -949,11 +1216,49 @@ static const TypeInfo virtio_9p_pci_info = { * virtio-pci: This is the PCIDevice which has a virtio-pci-bus. */ +#define VIRTIO_PCI_CONFIG_BAR_NUM 2 + +static void *virtio_pci_cap_add(VirtIOPCIProxy *proxy, + const char *name, + MemoryRegion *reg, + const MemoryRegionOps *ops, + unsigned offset, + unsigned size, +...
2013 May 28
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
..., > uint32_t val, int len) > { > @@ -949,11 +1216,49 @@ static const TypeInfo virtio_9p_pci_info = { > * virtio-pci: This is the PCIDevice which has a virtio-pci-bus. > */ > > +#define VIRTIO_PCI_CONFIG_BAR_NUM 2 > + > +static void *virtio_pci_cap_add(VirtIOPCIProxy *proxy, > + const char *name, > + MemoryRegion *reg, > + const MemoryRegionOps *ops, > + unsigned offset, > + unsi...