summaryrefslogtreecommitdiff
path: root/src/mem/protocol/MOESI_CMP_token-L1cache.sm
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-03-18 14:12:03 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-03-18 14:12:03 -0500
commit3f27ccbb5488a6904f8bffc7e2ecc58c39a09119 (patch)
treef206d3d898a181d1ce94ec5e02e562fe4fea71ad /src/mem/protocol/MOESI_CMP_token-L1cache.sm
parent847ba941ea345f01b2f5176432b6541902a41d2b (diff)
downloadgem5-3f27ccbb5488a6904f8bffc7e2ecc58c39a09119.tar.xz
SLICC: Remove the keyword wake_up_dependents
In order to add stall and wait facility for protocols, a keyword wake_up_dependents was introduced. This patch removes the keyword, instead this functionality is now implemented as function call.
Diffstat (limited to 'src/mem/protocol/MOESI_CMP_token-L1cache.sm')
-rw-r--r--src/mem/protocol/MOESI_CMP_token-L1cache.sm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/protocol/MOESI_CMP_token-L1cache.sm b/src/mem/protocol/MOESI_CMP_token-L1cache.sm
index 5735fe203..edaf5f8ae 100644
--- a/src/mem/protocol/MOESI_CMP_token-L1cache.sm
+++ b/src/mem/protocol/MOESI_CMP_token-L1cache.sm
@@ -177,6 +177,7 @@ machine(L1Cache, "Token protocol")
void set_tbe(TBE b);
void unset_tbe();
void wakeUpAllBuffers();
+ void wakeUpBuffers(Address a);
TBETable L1_TBEs, template_hack="<L1Cache_TBE>";
@@ -1522,7 +1523,7 @@ machine(L1Cache, "Token protocol")
}
action(kd_wakeUpDependents, "kd", desc="wake-up dependents") {
- wake_up_dependents(address);
+ wakeUpBuffers(address);
}
action(ka_wakeUpAllDependents, "ka", desc="wake-up all dependents") {