summaryrefslogtreecommitdiff
path: root/src/mem/protocol
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-02-08 07:47:02 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2011-02-08 07:47:02 -0600
commit488280e48b5f227b2eb35df5d6daba2ae94a1de6 (patch)
treef2b4cd0d17835b0e36aa69507a78d981304fbaaf /src/mem/protocol
parent0851580aada37c8e1b1d2b695100fbcfaf4e0946 (diff)
downloadgem5-488280e48b5f227b2eb35df5d6daba2ae94a1de6.tar.xz
MESI CMP: Unset TBE pointer in L2 cache controller
The TBE pointer in the MESI CMP implementation was not being set to NULL when the TBE is deallocated. This resulted in segmentation fault on testing the protocol when the ProtocolTrace was switched on.
Diffstat (limited to 'src/mem/protocol')
-rw-r--r--src/mem/protocol/MESI_CMP_directory-L2cache.sm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/protocol/MESI_CMP_directory-L2cache.sm b/src/mem/protocol/MESI_CMP_directory-L2cache.sm
index 94dd949c5..c037527de 100644
--- a/src/mem/protocol/MESI_CMP_directory-L2cache.sm
+++ b/src/mem/protocol/MESI_CMP_directory-L2cache.sm
@@ -593,6 +593,7 @@ machine(L2Cache, "MESI Directory L2 Cache CMP")
action(s_deallocateTBE, "s", desc="Deallocate external TBE") {
L2_TBEs.deallocate(address);
+ unset_tbe();
}
action(jj_popL1RequestQueue, "\j", desc="Pop incoming L1 request queue") {