gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
 ReqLookupResult ()=delete
 

Public Attributes

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

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 Jun 18 2024 16:24:14 for gem5 by doxygen 1.11.0