X86: If PCI config space is disabled, pass through to regular IO addresses.

This commit is contained in:
Gabe Black 2011-02-27 16:25:06 -08:00
parent b84ae9bd40
commit d3214c5c5e

View file

@ -518,6 +518,8 @@ TLB::translateInt(RequestPtr req, ThreadContext *tc)
req->setPaddr(PhysAddrPrefixPciConfig |
mbits(configAddress, 30, 2) |
(IOPort & mask(2)));
} else {
req->setPaddr(PhysAddrPrefixIO | IOPort);
}
} else {
req->setFlags(Request::UNCACHEABLE);