summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resource.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:39 -0400
committerKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:39 -0400
commit5f608dd2e9a760b4280fb03ce82a11a62c6f3af9 (patch)
tree725a942e67f2efeffaa84c4385afc81424e142ee /src/cpu/inorder/resource.hh
parente0e387c2a926dcdb53f85d8189e6d7158765b4ac (diff)
downloadgem5-5f608dd2e9a760b4280fb03ce82a11a62c6f3af9.tar.xz
inorder: squash and trap behind a tlb fault
Diffstat (limited to 'src/cpu/inorder/resource.hh')
-rw-r--r--src/cpu/inorder/resource.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/inorder/resource.hh b/src/cpu/inorder/resource.hh
index 91d144a64..78e5af5de 100644
--- a/src/cpu/inorder/resource.hh
+++ b/src/cpu/inorder/resource.hh
@@ -168,6 +168,9 @@ class Resource {
virtual void squashDueToMemStall(DynInstPtr inst, int stage_num,
InstSeqNum squash_seq_num, ThreadID tid);
+ /** Handle Squash & Trap that occured from an instruction in a resource */
+ void squashThenTrap(int stage_num, DynInstPtr inst);
+
/** The number of instructions available that this resource can
* can still process
*/