41 #ifndef __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__ 42 #define __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__ 49 #include "mem/ruby/protocol/DirectoryRequestType.hh" 51 #include "params/RubyDirectoryMemory.hh" 57 typedef RubyDirectoryMemoryParams
Params;
82 void print(std::ostream& out)
const;
114 #endif // __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
RubyDirectoryMemoryParams Params
void print(std::ostream &out) const
void recordRequestType(DirectoryRequestType requestType)
uint64_t mapAddressToLocalIdx(Addr address)
Return the index in the directory based on an address.
bool isPresent(Addr address)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::ostream & operator<<(std::ostream &out, const DirectoryMemory &obj)
AbstractCacheEntry ** m_entries
DirectoryMemory(const Params *p)
AbstractCacheEntry * allocate(Addr address, AbstractCacheEntry *new_entry)
const AddrRangeList addrRanges
The address range for which the directory responds.
DirectoryMemory & operator=(const DirectoryMemory &obj)
AbstractCacheEntry * lookup(Addr address)
Abstract superclass for simulation objects.