summaryrefslogtreecommitdiff
path: root/src/mem/protocol/MOESI_hammer-cache.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_hammer-cache.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_hammer-cache.sm')
-rw-r--r--src/mem/protocol/MOESI_hammer-cache.sm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/protocol/MOESI_hammer-cache.sm b/src/mem/protocol/MOESI_hammer-cache.sm
index 05d74038b..94fd25f56 100644
--- a/src/mem/protocol/MOESI_hammer-cache.sm
+++ b/src/mem/protocol/MOESI_hammer-cache.sm
@@ -158,6 +158,7 @@ machine(L1Cache, "AMD Hammer-like protocol")
void unset_cache_entry();
void set_tbe(TBE b);
void unset_tbe();
+ void wakeUpAllBuffers();
Entry getCacheEntry(Address address), return_by_pointer="yes" {
Entry L2cache_entry := static_cast(Entry, "pointer", L2cacheMemory.lookup(address));
@@ -1016,7 +1017,7 @@ machine(L1Cache, "AMD Hammer-like protocol")
}
action(ka_wakeUpAllDependents, "ka", desc="wake-up all dependents") {
- wake_up_all_dependents();
+ wakeUpAllBuffers();
}
//*****************************************************