ISA: Fix compilation.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 17 Oct 2009 08:13:41 +0000 (01:13 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 17 Oct 2009 08:13:41 +0000 (01:13 -0700)
src/arch/alpha/isa.cc
src/arch/alpha/isa.hh
src/arch/arm/isa.hh
src/arch/mips/isa.hh
src/cpu/simple_thread.cc

index eee391a0dea20371a966cefeffc01fd9b8823026..8b6da3649457a75ebc711be4980d10a282833302 100644 (file)
@@ -36,7 +36,7 @@ namespace AlphaISA
 {
 
 void
-ISA::serialize(std::ostream &os)
+ISA::serialize(EventManager *em, std::ostream &os)
 {
     SERIALIZE_SCALAR(fpcr);
     SERIALIZE_SCALAR(uniq);
@@ -46,7 +46,7 @@ ISA::serialize(std::ostream &os)
 }
 
 void
-ISA::unserialize(Checkpoint *cp, const std::string &section)
+ISA::unserialize(EventManager *em, Checkpoint *cp, const std::string &section)
 {
     UNSERIALIZE_SCALAR(fpcr);
     UNSERIALIZE_SCALAR(uniq);
index 622d1da4cc2ff3c63a3d60c3134f4c68d3a26bbe..574b5084191e68a3d77bf58aeded552caa2f4edc 100644 (file)
@@ -83,8 +83,9 @@ namespace AlphaISA
             intr_flag = 0;
         }
 
-        void serialize(std::ostream &os);
-        void unserialize(Checkpoint *cp, const std::string &section);
+        void serialize(EventManager *em, std::ostream &os);
+        void unserialize(EventManager *em, Checkpoint *cp,
+                const std::string &section);
 
         void reset(std::string core_name, ThreadID num_threads,
                    unsigned num_vpes, BaseCPU *_cpu)
index 2315afa9e8789403c269f57629bd408316e3a749..9b21c03cd7b28e25fde22e81168ea1fe66d5cbbe 100644 (file)
@@ -95,9 +95,10 @@ namespace ArmISA
             return reg;
         }
 
-        void serialize(std::ostream &os)
+        void serialize(EventManager *em, std::ostream &os)
         {}
-        void unserialize(Checkpoint *cp, const std::string &section)
+        void unserialize(EventManager *em, Checkpoint *cp,
+                const std::string &section)
         {}
 
         ISA()
index 15c043dc06b45d872c721fc6b18dd7c87f9535de..165adff83daa9913be5a498576bc802183ebbc7c 100644 (file)
@@ -172,8 +172,11 @@ namespace MipsISA
             return reg;
         }
 
-        void serialize(std::ostream &os);
-        void unserialize(Checkpoint *cp, const std::string &section);
+        void serialize(EventManager *em, std::ostream &os)
+        {}
+        void unserialize(EventManager *em, Checkpoint *cp,
+                const std::string &section)
+        {}
     };
 }
 
index f18634198e073ab5d3035c238f8ac4c8bde42c3f..ad69719eea9e2c52cdf767cb14251450510a9b81 100644 (file)
@@ -203,7 +203,7 @@ SimpleThread::serialize(ostream &os)
     // 
     // Now must serialize all the ISA dependent state
     //
-    isa.serialize(os);
+    isa.serialize(cpu, os);
 }
 
 
@@ -223,7 +223,7 @@ SimpleThread::unserialize(Checkpoint *cp, const std::string &section)
     // 
     // Now must unserialize all the ISA dependent state
     //
-    isa.unserialize(cp, section);
+    isa.unserialize(cpu, cp, section);
 }
 
 #if FULL_SYSTEM