summaryrefslogtreecommitdiff
path: root/src/cpu/simple
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2007-11-15 03:10:41 -0500
committerKorey Sewell <ksewell@umich.edu>2007-11-15 03:10:41 -0500
commit789153dff64edcf046d800f231dffa6d66004ed5 (patch)
tree23af9c76854b19aff31c27173de9897729b6ab9a /src/cpu/simple
parent375ddf8d25c3d81a77bd5dd7b70f84a0dbe48fe8 (diff)
downloadgem5-789153dff64edcf046d800f231dffa6d66004ed5.tar.xz
Get MIPS simple regression working. Take out unecessary functions "setShadowSet", "CacheOp"
--HG-- extra : convert_revision : a9ae8a7e62c27c2db16fd3cfa7a7f0bf5f0bf8ea
Diffstat (limited to 'src/cpu/simple')
-rw-r--r--src/cpu/simple/base.cc4
-rw-r--r--src/cpu/simple/base.hh6
2 files changed, 3 insertions, 7 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index e521837df..010c21e4a 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -503,7 +503,7 @@ BaseSimpleCPU::advancePC(Fault fault)
} while (oldpc != thread->readPC());
}
-Fault
+/*Fault
BaseSimpleCPU::CacheOp(uint8_t Op, Addr EffAddr)
{
// translate to physical address
@@ -536,4 +536,4 @@ BaseSimpleCPU::CacheOp(uint8_t Op, Addr EffAddr)
}
}
return fault;
-}
+}*/
diff --git a/src/cpu/simple/base.hh b/src/cpu/simple/base.hh
index 5990e46b0..82f73e5dd 100644
--- a/src/cpu/simple/base.hh
+++ b/src/cpu/simple/base.hh
@@ -378,12 +378,8 @@ class BaseSimpleCPU : public BaseCPU
"register access.\n");
}
- void setShadowSet(int css) {
- panic("Simple CPU models do not support Shadow Sets");
- //tc->setShadowSet(css);
- }
+ //Fault CacheOp(uint8_t Op, Addr EA);
- Fault CacheOp(uint8_t Op, Addr EA);
#if FULL_SYSTEM
Fault hwrei() { return thread->hwrei(); }
void ev5_trap(Fault fault) { fault->invoke(tc); }