serialization fix for the NS GigE driver
authorNathan Binkert <binkertn@umich.edu>
Thu, 18 Nov 2004 02:03:51 +0000 (21:03 -0500)
committerNathan Binkert <binkertn@umich.edu>
Thu, 18 Nov 2004 02:03:51 +0000 (21:03 -0500)
dev/ns_gige.cc:
    We need to serialize the rxFragPtr

--HG--
extra : convert_revision : 1f68c9d7ae2dbeea69e60d988ea6392622104f52

dev/ns_gige.cc

index e51e14f1d0ea091304a0b754e572f43d72a2ada0..c650c794391b347ce7e293e6601387ed762ba75c 100644 (file)
@@ -2166,6 +2166,7 @@ NSGigE::serialize(ostream &os)
     SERIALIZE_SCALAR(rxEnable);
     SERIALIZE_SCALAR(CRDD);
     SERIALIZE_SCALAR(rxPktBytes);
+    SERIALIZE_SCALAR(rxFragPtr);
     SERIALIZE_SCALAR(rxDescCnt);
     int rxDmaState = this->rxDmaState;
     SERIALIZE_SCALAR(rxDmaState);
@@ -2314,6 +2315,7 @@ NSGigE::unserialize(Checkpoint *cp, const std::string &section)
     UNSERIALIZE_SCALAR(rxEnable);
     UNSERIALIZE_SCALAR(CRDD);
     UNSERIALIZE_SCALAR(rxPktBytes);
+    UNSERIALIZE_SCALAR(rxFragPtr);
     UNSERIALIZE_SCALAR(rxDescCnt);
     int rxDmaState;
     UNSERIALIZE_SCALAR(rxDmaState);