Introduce range.h
Extract range functions from pci.h. These will be used by later patches
by non-PCI devices. Adjust current users.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit bf1b007123
)
This commit is contained in:
parent
48ebf2f90f
commit
5afb986917
1
hw/msi.c
1
hw/msi.c
@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "msi.h"
|
||||
#include "range.h"
|
||||
|
||||
/* Eventually those constants should go to Linux pci_regs.h */
|
||||
#define PCI_MSI_PENDING_32 0x10
|
||||
|
@ -31,6 +31,7 @@
|
||||
|
||||
#include "pci_bridge.h"
|
||||
#include "pci_internals.h"
|
||||
#include "range.h"
|
||||
|
||||
/* PCI bridge subsystem vendor ID helper functions */
|
||||
#define PCI_SSVID_SIZEOF 8
|
||||
|
Loading…
Reference in New Issue
Block a user