From: Nathan Binkert Date: Wed, 17 Nov 2004 21:24:58 +0000 (-0500) Subject: fix sinic unserialization X-Git-Tag: m5_1.0_tutorial~126^2~1^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=797661b6e1297750d3c1782653a4145b9014dbf1;p=gem5.git fix sinic unserialization dev/sinic.cc: we only use one address range in the sinic --HG-- extra : convert_revision : daa730a34ac9c9264060431556a1c5caa3252c5e --- 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 §ion) /* * 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