gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
Address.hh File Reference
#include <cassert>
#include <iomanip>
#include <iostream>
#include "base/types.hh"

Go to the source code of this file.

Functions

Addr bitSelect (Addr addr, unsigned int small, unsigned int big)
 
Addr bitRemove (Addr addr, unsigned int small, unsigned int big)
 
Addr maskLowOrderBits (Addr addr, unsigned int number)
 
Addr maskHighOrderBits (Addr addr, unsigned int number)
 
Addr shiftLowOrderBits (Addr addr, unsigned int number)
 
Addr getOffset (Addr addr)
 
Addr makeLineAddress (Addr addr)
 
Addr makeNextStrideAddress (Addr addr, int stride)
 
std::string printAddress (Addr addr)
 

Variables

const uint32_t ADDRESS_WIDTH = 64
 

Function Documentation

Addr bitRemove ( Addr  addr,
unsigned int  small,
unsigned int  big 
)

Definition at line 49 of file Address.cc.

References addr, ADDRESS_WIDTH, and ArmISA::mask.

Referenced by DirectoryMemory::mapAddressToLocalIdx().

Addr bitSelect ( Addr  addr,
unsigned int  small,
unsigned int  big 
)
Addr getOffset ( Addr  addr)
Addr makeLineAddress ( Addr  addr)

Definition at line 112 of file Address.cc.

References RubySystem::getBlockSizeBits(), and maskLowOrderBits().

Referenced by Prefetcher::accessNonunitFilter(), Prefetcher::accessUnitFilter(), CacheMemory::addressToCacheSet(), AddressProfiler::addTraceSample(), PerfectCacheMemory< ENTRY >::allocate(), CacheMemory::allocate(), GPUCoalescer::atomicCallback(), CacheMemory::cacheAvail(), CacheMemory::cacheProbe(), PerfectCacheMemory< ENTRY >::changePermission(), CacheMemory::clearLocked(), PersistentTable::countReadStarvingForAddress(), PersistentTable::countStarvingForAddress(), PerfectCacheMemory< ENTRY >::deallocate(), CacheMemory::deallocate(), PersistentTable::findSmallest(), CacheMemory::findTagInSet(), CacheMemory::findTagInSetIgnorePermissions(), RubySystem::functionalRead(), RubySystem::functionalWrite(), H3BloomFilter::get_index(), MultiBitSelBloomFilter::get_index(), PerfectCacheMemory< ENTRY >::getPermission(), GPUCoalescer::getRequestStatus(), GPUCoalescer::hitCallback(), Prefetcher::initializeStream(), Sequencer::insertRequest(), GPUCoalescer::insertRequest(), PersistentTable::isLocked(), CacheMemory::isLocked(), TBETable< ENTRY >::isPresent(), DMASequencer::issueNext(), GPUCoalescer::issueRequest(), PerfectCacheMemory< ENTRY >::isTagPresent(), CacheMemory::isTagPresent(), PerfectCacheMemory< ENTRY >::lookup(), CacheMemory::lookup(), DMASequencer::makeRequest(), GPUCoalescer::makeRequest(), PersistentTable::markEntries(), Prefetcher::observeMiss(), PersistentTable::okToIssueStarving(), Check::performCallback(), PersistentTable::persistentRequestLock(), PersistentTable::persistentRequestUnlock(), Sequencer::readCallback(), GPUCoalescer::readCallback(), RubyPort::MemSlavePort::recvFunctional(), GPUCoalescer::removeRequest(), RubyRequest::RubyRequest(), TimerTable::set(), CacheMemory::setLocked(), testAndRead(), testAndReadMask(), testAndWrite(), CacheMemory::testCacheAccess(), CacheMemory::tryCacheAccess(), PersistentTable::typeOfSmallest(), TimerTable::unset(), Sequencer::writeCallback(), and GPUCoalescer::writeCallback().

Addr makeNextStrideAddress ( Addr  addr,
int  stride 
)
Addr maskHighOrderBits ( Addr  addr,
unsigned int  number 
)

Definition at line 87 of file Address.cc.

References ADDRESS_WIDTH, and ArmISA::mask.

Addr maskLowOrderBits ( Addr  addr,
unsigned int  number 
)
std::string printAddress ( Addr  addr)
Addr shiftLowOrderBits ( Addr  addr,
unsigned int  number 
)

Definition at line 100 of file Address.cc.

Variable Documentation

const uint32_t ADDRESS_WIDTH = 64

Definition at line 38 of file Address.hh.

Referenced by bitRemove(), bitSelect(), maskHighOrderBits(), and maskLowOrderBits().


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