summaryrefslogtreecommitdiff
path: root/dev/sinic.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-11-17 16:24:58 -0500
committerNathan Binkert <binkertn@umich.edu>2004-11-17 16:24:58 -0500
commit797661b6e1297750d3c1782653a4145b9014dbf1 (patch)
treebb9d57e880b3212460f563cf395df21aa42e3182 /dev/sinic.cc
parent4e8bc3f125fed5c742c9de2c977af87d16cc5b05 (diff)
downloadgem5-797661b6e1297750d3c1782653a4145b9014dbf1.tar.xz
fix sinic unserialization
dev/sinic.cc: we only use one address range in the sinic --HG-- extra : convert_revision : daa730a34ac9c9264060431556a1c5caa3252c5e
Diffstat (limited to 'dev/sinic.cc')
-rw-r--r--dev/sinic.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev/sinic.cc b/dev/sinic.cc
index 80364ef20..4dff59a5a 100644
--- a/dev/sinic.cc
+++ b/dev/sinic.cc
@@ -1264,10 +1264,8 @@ Device::unserialize(Checkpoint *cp, const std::string &section)
/*
* re-add addrRanges to bus bridges
*/
- if (pioInterface) {
+ if (pioInterface)
pioInterface->addAddrRange(RangeSize(BARAddrs[0], BARSize[0]));
- pioInterface->addAddrRange(RangeSize(BARAddrs[1], BARSize[1]));
- }
}
Tick