diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2011-03-18 14:12:01 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2011-03-18 14:12:01 -0500 |
commit | 847ba941ea345f01b2f5176432b6541902a41d2b (patch) | |
tree | 0941a91a6d9e643916640c203328bd9d69ee9c38 /src/mem/protocol | |
parent | cc14689a86d4a17bc8d8c77a24539d45e7f78da9 (diff) | |
download | gem5-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')
-rw-r--r-- | src/mem/protocol/MOESI_CMP_token-L1cache.sm | 3 | ||||
-rw-r--r-- | src/mem/protocol/MOESI_hammer-cache.sm | 3 |
2 files changed, 4 insertions, 2 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(); } //***************************************************** 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(); } //***************************************************** |