aboutsummaryrefslogtreecommitdiff
path: root/hw/msix.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-20 15:35:55 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-20 15:35:55 +0000
commit5e520a7d500ec2569d22d80f9ef4272a34cb3c80 (patch)
tree0d9b2ad946225fadf44d44a2a9175c53a45229e6 /hw/msix.h
parentca20cf32ab3d945155141ef737f5d08ebb373e1d (diff)
Compile msix only once
Get page size in device init. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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 3427778dc1..9367ba38f8 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);