From 797661b6e1297750d3c1782653a4145b9014dbf1 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 17 Nov 2004 16:24:58 -0500 Subject: [PATCH] fix sinic unserialization dev/sinic.cc: we only use one address range in the sinic --HG-- extra : convert_revision : daa730a34ac9c9264060431556a1c5caa3252c5e --- dev/sinic.cc | 4 +--- 1 file changed, 1 insertion(+), 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 §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