From: Gabe Black Date: Mon, 28 Feb 2011 00:25:06 +0000 (-0800) Subject: X86: If PCI config space is disabled, pass through to regular IO addresses. X-Git-Tag: stable_2012_02_02~508 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3214c5c5e0a05a1f7638bbe0570e0d2deddfdf6;p=gem5.git X86: If PCI config space is disabled, pass through to regular IO addresses. --- diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc index 7b7af3288..dff62a4d7 100644 --- a/src/arch/x86/tlb.cc +++ b/src/arch/x86/tlb.cc @@ -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);