Fixes to get the ozone cpu to compile.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 30 Sep 2006 06:58:34 +0000 (02:58 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 30 Sep 2006 06:58:34 +0000 (02:58 -0400)
--HG--
extra : convert_revision : d3654fca7ae1ae0fbe8842fed98ccf8c56bce8c7

src/cpu/ozone/cpu.hh
src/cpu/ozone/cpu_impl.hh
src/cpu/ozone/dyn_inst_impl.hh

index e411c12bd55dca98a74bcf8636f440d3e30b405d..dd63d2e0047e62b707ad030411733c1d14b3df34 100644 (file)
@@ -257,8 +257,8 @@ class OzoneCPU : public BaseCPU
         void setFuncExeInst(Counter new_val)
         { thread->funcExeInst = new_val; }
 #endif
-        void changeRegFileContext(TheISA::RegFile::ContextParam param,
-                                          TheISA::RegFile::ContextVal val)
+        void changeRegFileContext(TheISA::RegContextParam param,
+                                          TheISA::RegContextVal val)
         { panic("Not supported on Alpha!"); }
     };
 
index 80f18434c3a767111562378c87e292505b56792d..45e14b9dea7ee51d26d92646b816f729b08ef289 100644 (file)
@@ -35,6 +35,7 @@
 #include "arch/isa_traits.hh" // For MachInst
 #include "base/trace.hh"
 #include "cpu/base.hh"
+#include "cpu/checker/cpu.hh"
 #include "cpu/thread_context.hh"
 #include "cpu/exetrace.hh"
 #include "cpu/ozone/cpu.hh"
@@ -53,6 +54,7 @@
 //#include "base/remote_gdb.hh"
 #include "cpu/profile.hh"
 #include "kern/kernel_stats.hh"
+#include "mem/physical.hh"
 #include "sim/faults.hh"
 #include "sim/sim_events.hh"
 #include "sim/sim_exit.hh"
index ba0d70417b73eafe1827b0a9c401d80d8f1aede5..db1460eba58e349dc58095eab3f827b6fe8f5057 100644 (file)
@@ -215,14 +215,14 @@ OzoneDynInst<Impl>::clearMemDependents()
 }
 
 template <class Impl>
-MiscReg
+TheISA::MiscReg
 OzoneDynInst<Impl>::readMiscReg(int misc_reg)
 {
     return this->thread->readMiscReg(misc_reg);
 }
 
 template <class Impl>
-MiscReg
+TheISA::MiscReg
 OzoneDynInst<Impl>::readMiscRegWithEffect(int misc_reg, Fault &fault)
 {
     return this->thread->readMiscRegWithEffect(misc_reg, fault);