summaryrefslogtreecommitdiff
path: root/dev/etherlink.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2004-11-23 00:00:59 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2004-11-23 00:00:59 -0500
commita6696a4e7bbc3a1286e9fac8c8c3fab42e8e50de (patch)
tree04f418983a12f5a0e4f1abaab1ab46dd80dc969e /dev/etherlink.cc
parent45198407d11aecc856d0418466e46a94286425f9 (diff)
parent409f7812b25fe7be9beea066f21a929da2bc83c8 (diff)
downloadgem5-a6696a4e7bbc3a1286e9fac8c8c3fab42e8e50de.tar.xz
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5 --HG-- extra : convert_revision : 8c257ce0f25c1a9deab4cbad1c81ada006b10b8d
Diffstat (limited to 'dev/etherlink.cc')
-rw-r--r--dev/etherlink.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/etherlink.cc b/dev/etherlink.cc
index 1e2be41fe..d637e152a 100644
--- a/dev/etherlink.cc
+++ b/dev/etherlink.cc
@@ -195,7 +195,7 @@ EtherLink::Link::unserialize(Checkpoint *cp, const string &section)
bool packet_exists;
UNSERIALIZE_SCALAR(packet_exists);
if (packet_exists) {
- packet = new PacketData;
+ packet = new PacketData(16384);
packet->unserialize("packet", cp, section);
}
@@ -244,7 +244,7 @@ void
LinkDelayEvent::unserialize(Checkpoint *cp, const string &section)
{
Event::unserialize(cp, section);
- packet = new PacketData;
+ packet = new PacketData(16384);
packet->unserialize("packet", cp, section);
}