summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resources/cache_unit.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:42 -0400
committerKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:42 -0400
commit078f914e69d6a08b0ff881b0909535307464553f (patch)
tree50e116b7b7d8a8136a080fe3ea53f6190b71243e /src/cpu/inorder/resources/cache_unit.hh
parent3cb23bd3a21a50577aaaa12db41d2203f4a9d6eb (diff)
downloadgem5-078f914e69d6a08b0ff881b0909535307464553f.tar.xz
inorder: SE mode TLB faults
handle them like we do in FS mode, by blocking the TLB until the fault is handled by the fault->invoke()
Diffstat (limited to 'src/cpu/inorder/resources/cache_unit.hh')
-rw-r--r--src/cpu/inorder/resources/cache_unit.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/inorder/resources/cache_unit.hh b/src/cpu/inorder/resources/cache_unit.hh
index 611ab62f2..f74a9136d 100644
--- a/src/cpu/inorder/resources/cache_unit.hh
+++ b/src/cpu/inorder/resources/cache_unit.hh
@@ -157,6 +157,9 @@ class CacheUnit : public Resource
bool processSquash(CacheReqPacket *cache_pkt);
+#if !FULL_SYSTEM
+ void trap(Fault fault, ThreadID tid, DynInstPtr inst);
+#endif
void recvRetry();
/** Returns a specific port. */