diff options
Diffstat (limited to 'src/dev/pcidev.cc')
-rw-r--r-- | src/dev/pcidev.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/pcidev.cc b/src/dev/pcidev.cc index 26286c208..db68a3799 100644 --- a/src/dev/pcidev.cc +++ b/src/dev/pcidev.cc @@ -76,7 +76,8 @@ PciDev::PciConfigPort::getDeviceAddressRanges(AddrRangeList &resp, bool &snoop) { snoop = false;; - resp.push_back(RangeSize(configAddr, PCI_CONFIG_SIZE+1)); + if (configAddr != ULL(-1)) + resp.push_back(RangeSize(configAddr, PCI_CONFIG_SIZE+1)); } |