projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51a6399
)
serialization fix for the NS GigE driver
author
Nathan Binkert
<binkertn@umich.edu>
Thu, 18 Nov 2004 02:03:51 +0000
(21:03 -0500)
committer
Nathan 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
patch
|
blob
|
history
diff --git
a/dev/ns_gige.cc
b/dev/ns_gige.cc
index e51e14f1d0ea091304a0b754e572f43d72a2ada0..c650c794391b347ce7e293e6601387ed762ba75c 100644
(file)
--- 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);