|
|
1.1 root 1: #ifndef QEMU_MSIX_H
2: #define QEMU_MSIX_H
3:
4: #include "qemu-common.h"
1.1.1.2 root 5: #include "pci.h"
1.1 root 6:
7: int msix_init(PCIDevice *pdev, unsigned short nentries,
1.1.1.3 root 8: MemoryRegion *bar,
1.1 root 9: unsigned bar_nr, unsigned bar_size);
10:
11: void msix_write_config(PCIDevice *pci_dev, uint32_t address,
12: uint32_t val, int len);
13:
1.1.1.3 root 14: int msix_uninit(PCIDevice *d, MemoryRegion *bar);
1.1 root 15:
16: void msix_save(PCIDevice *dev, QEMUFile *f);
17: void msix_load(PCIDevice *dev, QEMUFile *f);
18:
19: int msix_enabled(PCIDevice *dev);
20: int msix_present(PCIDevice *dev);
21:
22: uint32_t msix_bar_size(PCIDevice *dev);
23:
24: int msix_vector_use(PCIDevice *dev, unsigned vector);
25: void msix_vector_unuse(PCIDevice *dev, unsigned vector);
1.1.1.2 root 26: void msix_unuse_all_vectors(PCIDevice *dev);
1.1 root 27:
28: void msix_notify(PCIDevice *dev, unsigned vector);
29:
30: void msix_reset(PCIDevice *dev);
31:
32: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.