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:01 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-03-18 14:12:01 -0500
commit847ba941ea345f01b2f5176432b6541902a41d2b (patch)
tree0941a91a6d9e643916640c203328bd9d69ee9c38 /src/mem/protocol/MOESI_CMP_token-L1cache.sm
parentcc14689a86d4a17bc8d8c77a24539d45e7f78da9 (diff)
downloadgem5-847ba941ea345f01b2f5176432b6541902a41d2b.tar.xz
SLICC: Remove the keyword wake_up_all_dependents
In order to add stall and wait facility for protocols, a keyword wake_up_all_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 160208aac..5735fe203 100644
--- a/src/mem/protocol/MOESI_CMP_token-L1cache.sm
+++ b/src/mem/protocol/MOESI_CMP_token-L1cache.sm
@@ -176,6 +176,7 @@ machine(L1Cache, "Token protocol")
void unset_cache_entry();
void set_tbe(TBE b);
void unset_tbe();
+ void wakeUpAllBuffers();
TBETable L1_TBEs, template_hack="<L1Cache_TBE>";
@@ -1525,7 +1526,7 @@ machine(L1Cache, "Token protocol")
}
action(ka_wakeUpAllDependents, "ka", desc="wake-up all dependents") {
- wake_up_all_dependents();
+ wakeUpAllBuffers();
}
//*****************************************************