From 847ba941ea345f01b2f5176432b6541902a41d2b Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 18 Mar 2011 14:12:01 -0500 Subject: 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. --- src/mem/protocol/MOESI_CMP_token-L1cache.sm | 3 ++- src/mem/protocol/MOESI_hammer-cache.sm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mem/protocol') 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=""; @@ -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(); } //***************************************************** -- cgit v1.2.3