mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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
3 changed files with 3 additions and 0 deletions
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
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "msi.h"
|
||||
#include "pci_internals.h"
|
||||
#include "pcie_regs.h"
|
||||
#include "range.h"
|
||||
|
||||
//#define DEBUG_PCIE
|
||||
#ifdef DEBUG_PCIE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue