fix sinic unserialization
authorNathan Binkert <binkertn@umich.edu>
Wed, 17 Nov 2004 21:24:58 +0000 (16:24 -0500)
committerNathan Binkert <binkertn@umich.edu>
Wed, 17 Nov 2004 21:24:58 +0000 (16:24 -0500)
dev/sinic.cc:
    we only use one address range in the sinic

--HG--
extra : convert_revision : daa730a34ac9c9264060431556a1c5caa3252c5e

dev/sinic.cc

index 80364ef20253ce200dfeded87e6bd2310642db50..4dff59a5a8e83c410d6d78265568fd41e0214a88 100644 (file)
@@ -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