changeset 34191eea18c1 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=34191eea18c1
description:
ISA: Fix compilation.
diffstat:
5 files changed, 15 insertions(+), 10 deletions(-)
src/arch/alpha/isa.cc | 4 ++--
src/arch/alpha/isa.hh | 5 +++--
src/arch/arm/isa.hh | 5 +++--
src/arch/mips/isa.hh | 7 +++++--
src/cpu/simple_thread.cc | 4 ++--
diffs (90 lines):
diff -r b741b3e7164b -r 34191eea18c1 src/arch/alpha/isa.cc
--- a/src/arch/alpha/isa.cc Thu Oct 15 15:15:24 2009 -0700
+++ b/src/arch/alpha/isa.cc Sat Oct 17 01:13:41 2009 -0700
@@ -36,7 +36,7 @@
{
void
-ISA::serialize(std::ostream &os)
+ISA::serialize(EventManager *em, std::ostream &os)
{
SERIALIZE_SCALAR(fpcr);
SERIALIZE_SCALAR(uniq);
@@ -46,7 +46,7 @@
}
void
-ISA::unserialize(Checkpoint *cp, const std::string §ion)
+ISA::unserialize(EventManager *em, Checkpoint *cp, const std::string §ion)
{
UNSERIALIZE_SCALAR(fpcr);
UNSERIALIZE_SCALAR(uniq);
diff -r b741b3e7164b -r 34191eea18c1 src/arch/alpha/isa.hh
--- a/src/arch/alpha/isa.hh Thu Oct 15 15:15:24 2009 -0700
+++ b/src/arch/alpha/isa.hh Sat Oct 17 01:13:41 2009 -0700
@@ -83,8 +83,9 @@
intr_flag = 0;
}
- void serialize(std::ostream &os);
- void unserialize(Checkpoint *cp, const std::string §ion);
+ void serialize(EventManager *em, std::ostream &os);
+ void unserialize(EventManager *em, Checkpoint *cp,
+ const std::string §ion);
void reset(std::string core_name, ThreadID num_threads,
unsigned num_vpes, BaseCPU *_cpu)
diff -r b741b3e7164b -r 34191eea18c1 src/arch/arm/isa.hh
--- a/src/arch/arm/isa.hh Thu Oct 15 15:15:24 2009 -0700
+++ b/src/arch/arm/isa.hh Sat Oct 17 01:13:41 2009 -0700
@@ -95,9 +95,10 @@
return reg;
}
- void serialize(std::ostream &os)
+ void serialize(EventManager *em, std::ostream &os)
{}
- void unserialize(Checkpoint *cp, const std::string §ion)
+ void unserialize(EventManager *em, Checkpoint *cp,
+ const std::string §ion)
{}
ISA()
diff -r b741b3e7164b -r 34191eea18c1 src/arch/mips/isa.hh
--- a/src/arch/mips/isa.hh Thu Oct 15 15:15:24 2009 -0700
+++ b/src/arch/mips/isa.hh Sat Oct 17 01:13:41 2009 -0700
@@ -172,8 +172,11 @@
return reg;
}
- void serialize(std::ostream &os);
- void unserialize(Checkpoint *cp, const std::string §ion);
+ void serialize(EventManager *em, std::ostream &os)
+ {}
+ void unserialize(EventManager *em, Checkpoint *cp,
+ const std::string §ion)
+ {}
};
}
diff -r b741b3e7164b -r 34191eea18c1 src/cpu/simple_thread.cc
--- a/src/cpu/simple_thread.cc Thu Oct 15 15:15:24 2009 -0700
+++ b/src/cpu/simple_thread.cc Sat Oct 17 01:13:41 2009 -0700
@@ -203,7 +203,7 @@
//
// Now must serialize all the ISA dependent state
//
- isa.serialize(os);
+ isa.serialize(cpu, os);
}
@@ -223,7 +223,7 @@
//
// Now must unserialize all the ISA dependent state
//
- isa.unserialize(cp, section);
+ isa.unserialize(cpu, cp, section);
}
#if FULL_SYSTEM
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev