From 488280e48b5f227b2eb35df5d6daba2ae94a1de6 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 8 Feb 2011 07:47:02 -0600 Subject: 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. --- src/mem/protocol/MESI_CMP_directory-L2cache.sm | 1 + 1 file changed, 1 insertion(+) 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") { -- cgit v1.2.3