gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::SnoopFilter::ReqLookupResult Struct Reference

A request lookup must be followed by a call to finishRequest to inform the operation's success. More...

Public Member Functions

 ReqLookupResult (SnoopFilterCache::iterator end_it)
 The constructor must be informed of the internal cache's end iterator, so do not allow the compiler to implictly define it. More...
 
 ReqLookupResult ()=delete
 

Public Attributes

SnoopFilterCache::iterator it
 Iterator used to store the result from lookupRequest. More...
 
SnoopItem retryItem
 Variable to temporarily store value of snoopfilter entry in case finishRequest needs to undo changes made in lookupRequest (because of crossbar retry) More...
 

Detailed Description

A request lookup must be followed by a call to finishRequest to inform the operation's success.

If a retry is needed, however, all changes made to the snoop filter while performing the lookup must be undone. This structure keeps track of the state previous to such changes.

Definition at line 275 of file snoop_filter.hh.

Constructor & Destructor Documentation

◆ ReqLookupResult() [1/2]

gem5::SnoopFilter::ReqLookupResult::ReqLookupResult ( SnoopFilterCache::iterator  end_it)
inline

The constructor must be informed of the internal cache's end iterator, so do not allow the compiler to implictly define it.

Parameters
end_itIterator to the end of the internal cache.

Definition at line 293 of file snoop_filter.hh.

◆ ReqLookupResult() [2/2]

gem5::SnoopFilter::ReqLookupResult::ReqLookupResult ( )
delete

Member Data Documentation

◆ it

SnoopFilterCache::iterator gem5::SnoopFilter::ReqLookupResult::it

Iterator used to store the result from lookupRequest.

Definition at line 278 of file snoop_filter.hh.

Referenced by gem5::SnoopFilter::finishRequest(), and gem5::SnoopFilter::lookupRequest().

◆ retryItem

SnoopItem gem5::SnoopFilter::ReqLookupResult::retryItem

Variable to temporarily store value of snoopfilter entry in case finishRequest needs to undo changes made in lookupRequest (because of crossbar retry)

Definition at line 285 of file snoop_filter.hh.

Referenced by gem5::SnoopFilter::finishRequest(), and gem5::SnoopFilter::lookupRequest().


The documentation for this struct was generated from the following file:

Generated on Tue Sep 21 2021 12:28:11 for gem5 by doxygen 1.8.17