summaryrefslogtreecommitdiff
path: root/hw/msix.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/msix.h')
-rw-r--r--hw/msix.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/msix.h b/hw/msix.h
index 3427778dc..9367ba38f 100644
--- a/hw/msix.h
+++ b/hw/msix.h
@@ -3,8 +3,9 @@
#include "qemu-common.h"
-int msix_init(PCIDevice *pdev, unsigned short nentries,
- unsigned bar_nr, unsigned bar_size);
+int msix_init(struct PCIDevice *dev, unsigned short nentries,
+ unsigned bar_nr, unsigned bar_size,
+ target_phys_addr_t page_size);
void msix_write_config(PCIDevice *pci_dev, uint32_t address,
uint32_t val, int len);