X86: If PCI config space is disabled, pass through to regular IO addresses.
This commit is contained in:
parent
b84ae9bd40
commit
d3214c5c5e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue