diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-20 15:35:55 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-20 15:35:55 +0000 |
commit | 5e520a7d500ec2569d22d80f9ef4272a34cb3c80 (patch) | |
tree | 0d9b2ad946225fadf44d44a2a9175c53a45229e6 /hw/msix.h | |
parent | ca20cf32ab3d945155141ef737f5d08ebb373e1d (diff) | |
download | qemu-5e520a7d500ec2569d22d80f9ef4272a34cb3c80.tar.gz qemu-5e520a7d500ec2569d22d80f9ef4272a34cb3c80.tar.bz2 qemu-5e520a7d500ec2569d22d80f9ef4272a34cb3c80.zip |
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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |