diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2003-10-29 00:46:26 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2003-10-29 00:46:26 -0800 |
commit | aa12cac9fd423d75578c3657fe5fe6e664e63890 (patch) | |
tree | ec7fdd1254c3d221eaf3d02a39e74b111dcdf412 /sim | |
parent | 1511370d09a2dc93a9f7f6154440d28ed6309b49 (diff) | |
download | gem5-aa12cac9fd423d75578c3657fe5fe6e664e63890.tar.xz |
Rename SERIALIZE_MEMBER to SERIALIZE_SCALAR.
--HG--
extra : convert_revision : 848cfcf3323d224cdb2ff14df6f6996607a5c27f
Diffstat (limited to 'sim')
-rw-r--r-- | sim/eventq.cc | 2 | ||||
-rw-r--r-- | sim/serialize.hh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sim/eventq.cc b/sim/eventq.cc index 7285f63e8..7138d8688 100644 --- a/sim/eventq.cc +++ b/sim/eventq.cc @@ -150,7 +150,7 @@ EventQueue::serialize(ostream &os) event = event->next; } nameOut(os, "Serialized"); - SERIALIZE_MEMBER(objects); + SERIALIZE_SCALAR(objects); #endif } diff --git a/sim/serialize.hh b/sim/serialize.hh index 668e654b7..9c321b897 100644 --- a/sim/serialize.hh +++ b/sim/serialize.hh @@ -62,9 +62,9 @@ void arrayParamIn(const IniFile *db, const std::string §ion, // These macros are streamlined to use in serialize/unserialize // functions. It's assumed that serialize() has a parameter 'os' for // the ostream, and unserialize() has parameters 'db' and 'section'. -#define SERIALIZE_MEMBER(member) paramOut(os, #member, member) +#define SERIALIZE_SCALAR(scalar) paramOut(os, #scalar, scalar) -#define UNSERIALIZE_MEMBER(member) paramIn(db, section, #member, member) +#define UNSERIALIZE_SCALAR(scalar) paramIn(db, section, #scalar, scalar) #define SERIALIZE_ARRAY(member, size) \ arrayParamOut(os, #member, member, size) |