gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Cache::CpuSidePort Class Reference

The CPU-side port extends the base cache slave port with access functions for functional, atomic and timing requests. More...

#include <cache.hh>

Inheritance diagram for Cache::CpuSidePort:

Public Member Functions

 CpuSidePort (const std::string &_name, Cache *_cache, const std::string &_label)
 

Protected Member Functions

virtual bool recvTimingSnoopResp (PacketPtr pkt)
 
virtual bool recvTimingReq (PacketPtr pkt)
 
virtual Tick recvAtomic (PacketPtr pkt)
 
virtual void recvFunctional (PacketPtr pkt)
 
virtual AddrRangeList getAddrRanges () const
 

Private Attributes

Cachecache
 

Detailed Description

The CPU-side port extends the base cache slave port with access functions for functional, atomic and timing requests.

Definition at line 82 of file cache.hh.

Constructor & Destructor Documentation

Cache::CpuSidePort::CpuSidePort ( const std::string &  _name,
Cache _cache,
const std::string &  _label 
)

Definition at line 2579 of file cache.cc.

Member Function Documentation

AddrRangeList Cache::CpuSidePort::getAddrRanges ( ) const
protectedvirtual

Definition at line 2533 of file cache.cc.

Tick Cache::CpuSidePort::recvAtomic ( PacketPtr  pkt)
protectedvirtual

Definition at line 2566 of file cache.cc.

void Cache::CpuSidePort::recvFunctional ( PacketPtr  pkt)
protectedvirtual

Definition at line 2572 of file cache.cc.

bool Cache::CpuSidePort::recvTimingReq ( PacketPtr  pkt)
protectedvirtual

Definition at line 2539 of file cache.cc.

References BaseCache::blocked, Packet::isExpressSnoop(), and M5_VAR_USED.

bool Cache::CpuSidePort::recvTimingSnoopResp ( PacketPtr  pkt)
protectedvirtual

Definition at line 2201 of file cache.cc.

References cache, and Cache::recvTimingSnoopResp().

Member Data Documentation

Cache* Cache::CpuSidePort::cache
private

Definition at line 87 of file cache.hh.

Referenced by recvTimingSnoopResp().


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:04 for gem5 by doxygen 1.8.6