diff options
Diffstat (limited to 'src/mem/coherent_xbar.hh')
-rw-r--r-- | src/mem/coherent_xbar.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mem/coherent_xbar.hh b/src/mem/coherent_xbar.hh index 0c2907fa0..79777b998 100644 --- a/src/mem/coherent_xbar.hh +++ b/src/mem/coherent_xbar.hh @@ -51,6 +51,7 @@ #ifndef __MEM_COHERENT_XBAR_HH__ #define __MEM_COHERENT_XBAR_HH__ +#include <unordered_map> #include <unordered_set> #include "mem/snoop_filter.hh" @@ -263,6 +264,13 @@ class CoherentXBar : public BaseXBar std::unordered_set<RequestPtr> outstandingSnoop; /** + * Store the outstanding cache maintenance that we are expecting + * snoop responses from so we can determine when we received all + * snoop responses and if any of the agents satisfied the request. + */ + std::unordered_map<PacketId, PacketPtr> outstandingCMO; + + /** * Keep a pointer to the system to be allow to querying memory system * properties. */ |