From: Nathan Binkert Date: Thu, 18 Nov 2004 02:03:51 +0000 (-0500) Subject: serialization fix for the NS GigE driver X-Git-Tag: m5_1.0_tutorial~126^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98ca4fa600662293b100df8bd80dfe04cf067390;p=gem5.git serialization fix for the NS GigE driver dev/ns_gige.cc: We need to serialize the rxFragPtr --HG-- extra : convert_revision : 1f68c9d7ae2dbeea69e60d988ea6392622104f52 --- diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc index e51e14f1d..c650c7943 100644 --- a/dev/ns_gige.cc +++ b/dev/ns_gige.cc @@ -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 §ion) UNSERIALIZE_SCALAR(rxEnable); UNSERIALIZE_SCALAR(CRDD); UNSERIALIZE_SCALAR(rxPktBytes); + UNSERIALIZE_SCALAR(rxFragPtr); UNSERIALIZE_SCALAR(rxDescCnt); int rxDmaState; UNSERIALIZE_SCALAR(rxDmaState);