summaryrefslogtreecommitdiff
path: root/dev/ns_gige.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-11-17 21:03:51 -0500
committerNathan Binkert <binkertn@umich.edu>2004-11-17 21:03:51 -0500
commit98ca4fa600662293b100df8bd80dfe04cf067390 (patch)
treead4856beac616e6cae5c940bbfff08f81654f770 /dev/ns_gige.cc
parent51a6399499d2d09313038b0f8d1aa0aaca5bcf3e (diff)
downloadgem5-98ca4fa600662293b100df8bd80dfe04cf067390.tar.xz
serialization fix for the NS GigE driver
dev/ns_gige.cc: We need to serialize the rxFragPtr --HG-- extra : convert_revision : 1f68c9d7ae2dbeea69e60d988ea6392622104f52
Diffstat (limited to 'dev/ns_gige.cc')
-rw-r--r--dev/ns_gige.cc2
1 files changed, 2 insertions, 0 deletions
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 &section)
UNSERIALIZE_SCALAR(rxEnable);
UNSERIALIZE_SCALAR(CRDD);
UNSERIALIZE_SCALAR(rxPktBytes);
+ UNSERIALIZE_SCALAR(rxFragPtr);
UNSERIALIZE_SCALAR(rxDescCnt);
int rxDmaState;
UNSERIALIZE_SCALAR(rxDmaState);