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:03 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-03-18 14:12:03 -0500
commit3f27ccbb5488a6904f8bffc7e2ecc58c39a09119 (patch)
treef206d3d898a181d1ce94ec5e02e562fe4fea71ad /src/mem/protocol/MOESI_hammer-cache.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_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 94fd25f56..4bbf3bde1 100644
--- a/src/mem/protocol/MOESI_hammer-cache.sm
+++ b/src/mem/protocol/MOESI_hammer-cache.sm
@@ -159,6 +159,7 @@ machine(L1Cache, "AMD Hammer-like protocol")
void set_tbe(TBE b);
void unset_tbe();
void wakeUpAllBuffers();
+ void wakeUpBuffers(Address a);
Entry getCacheEntry(Address address), return_by_pointer="yes" {
Entry L2cache_entry := static_cast(Entry, "pointer", L2cacheMemory.lookup(address));
@@ -1013,7 +1014,7 @@ machine(L1Cache, "AMD Hammer-like protocol")
}
action(kd_wakeUpDependents, "kd", desc="wake-up dependents") {
- wake_up_dependents(address);
+ wakeUpBuffers(address);
}
action(ka_wakeUpAllDependents, "ka", desc="wake-up all dependents") {