mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Compile msix only once
Get page size in device init. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
ca20cf32ab
commit
5e520a7d50
6 changed files with 39 additions and 29 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue