changeset 831413564d0c in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=831413564d0c
description:
X86: Compute PCI config addresses correctly.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/arch/x86/tlb.cc | 3 ++-
diffs (13 lines):
diff -r 96b77f1f419a -r 831413564d0c src/arch/x86/tlb.cc
--- a/src/arch/x86/tlb.cc Sun Feb 01 00:08:16 2009 -0800
+++ b/src/arch/x86/tlb.cc Sun Feb 01 00:11:49 2009 -0800
@@ -547,7 +547,8 @@
tc->readMiscRegNoEffect(MISCREG_PCI_CONFIG_ADDRESS);
if (bits(configAddress, 31, 31)) {
req->setPaddr(PhysAddrPrefixPciConfig |
- bits(configAddress, 30, 0));
+ mbits(configAddress, 30, 2) |
+ (IOPort & mask(2)));
}
} else {
req->setPaddr(PhysAddrPrefixIO | IOPort);
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev