aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-09-18 05:53:14 +0000
committerMichael S. Tsirkin <mst@redhat.com>2010-10-27 19:01:59 +0200
commit5afb9869171c15c777eee09bc98624221009555f (patch)
tree751c6cd0ca09554aad8a3caa4c69bb878665f709 /hw
parent48ebf2f90f8fba8c03c0bfdb3bd4fe1e8fd5d61b (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.c1
-rw-r--r--hw/pci_bridge.c1
-rw-r--r--hw/pcie.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/hw/msi.c b/hw/msi.c
index a949d821fd..0f2913aaa2 100644
--- a/hw/msi.c
+++ b/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
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
diff --git a/hw/pcie.c b/hw/pcie.c
index 53d1fce7c7..881af7878c 100644
--- a/hw/pcie.c
+++ b/hw/pcie.c
@@ -25,6 +25,7 @@
#include "msi.h"
#include "pci_internals.h"
#include "pcie_regs.h"
+#include "range.h"
//#define DEBUG_PCIE
#ifdef DEBUG_PCIE