summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-10-29 22:13:16 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2003-10-29 22:13:16 -0800
commit735b187a06f9dfe73ddb074421fc9672bfdccaeb (patch)
treea891cf33b839fde2973d150650c1d5c2a7860624
parent9a88c8e17dd562ab390635accc1d3d2073ab6c52 (diff)
downloadgem5-735b187a06f9dfe73ddb074421fc9672bfdccaeb.tar.xz
Merge Steve & Erik's etherdev & scsi changes with mine (specifically
new arg type for unserialize()). dev/etherpkt.hh: unserialize() takes Checkpoint* instead of IniFile* now. --HG-- extra : convert_revision : 21b9d97350a591b0f95d84f6c0cfcdfa0b28d714
-rw-r--r--dev/etherpkt.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/etherpkt.hh b/dev/etherpkt.hh
index 030f51317..c91322526 100644
--- a/dev/etherpkt.hh
+++ b/dev/etherpkt.hh
@@ -39,7 +39,7 @@
#include "base/refcnt.hh"
-class IniFile;
+class Checkpoint;
/*
* Reference counted class containing ethernet packet data
@@ -61,8 +61,8 @@ class EtherPacket : public RefCounted
bool IsMulticast() { return data[0] == 0x01; }
bool IsBroadcast() { return data[0] == 0xff; }
- virtual void serialize(std::ostream &os);
- virtual void unserialize(const IniFile *db, const std::string &section);
+ void serialize(std::ostream &os);
+ void unserialize(Checkpoint *cp, const std::string &section);
};
typedef RefCountingPtr<EtherPacket> PacketPtr;