diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-09-18 05:53:14 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-10-27 19:01:59 +0200 |
commit | 5afb9869171c15c777eee09bc98624221009555f (patch) | |
tree | 751c6cd0ca09554aad8a3caa4c69bb878665f709 /hw | |
parent | 48ebf2f90f8fba8c03c0bfdb3bd4fe1e8fd5d61b (diff) |
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 bf1b00712375bea65f2254dea8281fa646eebbd5)
Diffstat (limited to 'hw')
-rw-r--r-- | hw/msi.c | 1 | ||||
-rw-r--r-- | hw/pci_bridge.c | 1 | ||||
-rw-r--r-- | hw/pcie.c | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -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 diff --git a/hw/pci_bridge.c b/hw/pci_bridge.c index 7e8488a4fb..58cc2e4cee 100644 --- a/hw/pci_bridge.c +++ b/hw/pci_bridge.c @@ -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 |