From: Blue Swirl Date: Sat, 18 Sep 2010 05:53:14 +0000 (+0000) Subject: Introduce range.h X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~7015^2^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5afb9869171c15c777eee09bc98624221009555f;p=sdk%2Femulator%2Fqemu.git 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 (cherry picked from commit bf1b00712375bea65f2254dea8281fa646eebbd5) --- diff --git a/hw/msi.c b/hw/msi.c index a949d82..0f2913a 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 7e8488a..58cc2e4 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 53d1fce..881af78 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