X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=hw%2Fmsix.h;h=7e04336618a44b1ec17cdda89d63bb783b60544b;hb=9b02432b9f8ef3c093f6888a3e4c2c2d6631780a;hp=a9f7993c396a5923b147526793e8ba7613c77747;hpb=df8b863e2f7219eb3356ecc12635811241e38aad;p=sdk%2Femulator%2Fqemu.git diff --git a/hw/msix.h b/hw/msix.h index a9f7993..7e04336 100644 --- a/hw/msix.h +++ b/hw/msix.h @@ -5,15 +5,13 @@ #include "pci.h" int msix_init(PCIDevice *pdev, unsigned short nentries, + MemoryRegion *bar, unsigned bar_nr, unsigned bar_size); void msix_write_config(PCIDevice *pci_dev, uint32_t address, uint32_t val, int len); -void msix_mmio_map(PCIDevice *pci_dev, int region_num, - pcibus_t addr, pcibus_t size, int type); - -int msix_uninit(PCIDevice *d); +int msix_uninit(PCIDevice *d, MemoryRegion *bar); void msix_save(PCIDevice *dev, QEMUFile *f); void msix_load(PCIDevice *dev, QEMUFile *f);