Am 29.03.2013 um 03:26 hat Anthony Liguori geschrieben:
Kevin Wolf kw...@redhat.com writes:
Am 13.03.2013 um 15:03 hat Anthony Liguori geschrieben:
You are correct, it should look something like:
if (addr PCI_BASE_ADDRESS_SPACE_IO) {
size = (1ULL ctzl(addr
Am 13.03.2013 um 15:03 hat Anthony Liguori geschrieben:
You are correct, it should look something like:
if (addr PCI_BASE_ADDRESS_SPACE_IO) {
size = (1ULL ctzl(addr PCI_BASE_ADDRESS_IO_MASK));
} else {
size = (1ULL ctzl(addr PCI_BASE_ADDRESS_MEM_MASK));
}
This doesn't deal
Kevin Wolf kw...@redhat.com writes:
Am 13.03.2013 um 15:03 hat Anthony Liguori geschrieben:
You are correct, it should look something like:
if (addr PCI_BASE_ADDRESS_SPACE_IO) {
size = (1ULL ctzl(addr PCI_BASE_ADDRESS_IO_MASK));
} else {
size = (1ULL ctzl(addr
Am 05.03.2013 um 14:53 hat Anthony Liguori geschrieben:
This includes basic PCI support.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
+static void *qpci_pc_iomap(QPCIBus *bus, QPCIDevice *dev, int barno)
+{
+QPCIBusPC *s = container_of(bus, QPCIBusPC, bus);
+static const int
Am 05.03.2013 14:53, schrieb Anthony Liguori:
This includes basic PCI support.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
---
configure | 2 +-
tests/Makefile| 2 +-
tests/libqos/pci-pc.c | 219
++
Kevin Wolf kw...@redhat.com writes:
Am 05.03.2013 um 14:53 hat Anthony Liguori geschrieben:
This includes basic PCI support.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
+static void *qpci_pc_iomap(QPCIBus *bus, QPCIDevice *dev, int barno)
+{
+QPCIBusPC *s = container_of(bus,
This includes basic PCI support.
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
---
configure | 2 +-
tests/Makefile| 2 +-
tests/libqos/pci-pc.c | 219 ++
tests/libqos/pci-pc.h | 8 ++
tests/libqos/pci.c| 108