Go to the documentation of this file.
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;
85 void print(std::ostream& out)
const;
117 #endif // __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__
const AddrRangeList addrRanges
The address range for which the directory responds.
void deallocate(Addr address)
DirectoryMemory & operator=(const DirectoryMemory &obj)
uint64_t mapAddressToLocalIdx(Addr address)
Return the index in the directory based on an address.
void recordRequestType(DirectoryRequestType requestType)
AbstractCacheEntry * lookup(Addr address)
AbstractCacheEntry * allocate(Addr address, AbstractCacheEntry *new_entry)
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
void print(std::ostream &out) const
DirectoryMemory(const Params *p)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
RubyDirectoryMemoryParams Params
AbstractCacheEntry ** m_entries
bool isPresent(Addr address)
std::ostream & operator<<(std::ostream &out, const DirectoryMemory &obj)
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17