summaryrefslogtreecommitdiff
path: root/src/dev/etherpkt.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-06-17 21:34:27 -0700
committerNathan Binkert <nate@binkert.org>2008-06-17 21:34:27 -0700
commit8042b8f4c75164c6c6d5a71e171bc7193b85057a (patch)
tree8d0bf23a605edc5b120a5e31c9f69f2868aa6a3a /src/dev/etherpkt.cc
parent163465ac08674125fed1d4e843cab6c1c2bf2033 (diff)
downloadgem5-8042b8f4c75164c6c6d5a71e171bc7193b85057a.tar.xz
PacketFifo: Get slack out of the EthPacketData structure. This allows
a packet to exist in multiple FIFOs if desired.
Diffstat (limited to 'src/dev/etherpkt.cc')
-rw-r--r--src/dev/etherpkt.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dev/etherpkt.cc b/src/dev/etherpkt.cc
index 5c552b4bd..2c8343eb0 100644
--- a/src/dev/etherpkt.cc
+++ b/src/dev/etherpkt.cc
@@ -40,7 +40,6 @@ void
EthPacketData::serialize(const string &base, ostream &os)
{
paramOut(os, base + ".length", length);
- paramOut(os, base + ".slack", slack);
arrayParamOut(os, base + ".data", data, length);
}
@@ -49,7 +48,6 @@ EthPacketData::unserialize(const string &base, Checkpoint *cp,
const string &section)
{
paramIn(cp, section, base + ".length", length);
- paramIn(cp, section, base + ".slack", slack);
if (length)
arrayParamIn(cp, section, base + ".data", data, length);
}