gem5
|
#include <flags.hh>
Public Types | |
typedef T | Type |
Public Member Functions | |
Flags () | |
Flags (Type flags) | |
operator const Type () const | |
template<typename U > | |
const Flags< T > & | operator= (const Flags< U > &flags) |
const Flags< T > & | operator= (T flags) |
bool | isSet () const |
bool | isSet (Type flags) const |
bool | allSet () const |
bool | allSet (Type flags) const |
bool | noneSet () const |
bool | noneSet (Type flags) const |
void | clear () |
void | clear (Type flags) |
void | set (Type flags) |
void | set (Type f, bool val) |
void | update (Type flags, Type mask) |
Private Attributes | |
T | _flags |
|
inline |
|
inline |
Definition at line 68 of file flags.hh.
Referenced by Packet::clearBlockCached(), Event::clearFlags(), Packet::deleteData(), Packet::makeResponse(), EventQueue::serviceOne(), Request::setPhys(), and Request::setVirt().
|
inline |
Definition at line 62 of file flags.hh.
Referenced by Event::acquire(), TimingSimpleCPU::buildSplitPacket(), Packet::cacheResponding(), EventQueue::checkpointReschedule(), TimingSimpleCPU::completeDataAccess(), Packet::deleteData(), ArmISA::Stage2MMU::Stage2Translation::finish(), Packet::getAddr(), Packet::getConstPtr(), Packet::getPtr(), Packet::getRaw(), Packet::getSize(), Packet::hasSharers(), Request::isAcquire(), Request::isAtomic(), Request::isAtomicNoReturn(), Request::isAtomicReturn(), Packet::isBlockCached(), Request::isCondSwap(), Event::isExitEvent(), Packet::isExpressSnoop(), Event::isFlagSet(), Request::isInstFetch(), Request::isKernel(), Request::isLLSC(), Request::isLockedRMW(), Event::isManaged(), Request::isMmappedIpr(), Request::isPrefetch(), Request::isPriv(), Request::isPTWalk(), Request::isRelease(), Packet::isSecure(), Request::isSecure(), TraceCPU::ElasticDataGen::GraphNode::isStrictlyOrdered(), Request::isStrictlyOrdered(), Request::isSwap(), Request::isUncacheable(), Stats::Text::noOutput(), Stats::ScalarPrint::operator()(), Stats::VectorPrint::operator()(), Stats::DistPrint::operator()(), Packet::Packet(), ArmISA::Stage2MMU::readDataUntimed(), AtomicSimpleCPU::readMem(), CheckerCPU::readMem(), Event::release(), Packet::responderHadWritable(), Event::scheduled(), TimingSimpleCPU::sendData(), TimingSimpleCPU::sendSplitData(), Packet::setAddr(), Packet::setCacheResponding(), Packet::setData(), Packet::setRaw(), Packet::setSize(), Event::squashed(), Packet::suppressFuncError(), Stats::Text::visit(), and AtomicSimpleCPU::writeMem().
|
inline |
Definition at line 66 of file flags.hh.
Referenced by Packet::allocate(), Event::clearFlags(), Packet::dataDynamic(), Packet::dataStatic(), Packet::dataStaticConst(), AlphaISA::DtbFault::invoke(), Event::isFlagSet(), and Event::setFlags().
Definition at line 70 of file flags.hh.
Referenced by Packet::allocate(), Packet::dataDynamic(), Packet::dataStatic(), Packet::dataStaticConst(), ArmISA::TableWalker::doL1Descriptor(), ArmISA::TableWalker::doLongDescriptor(), GarnetSyntheticTraffic::generatePkt(), Check::initiateCheck(), Check::initiatePrefetch(), Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::name(), Packet::Packet(), ArmISA::TableWalker::processWalk(), ArmISA::TableWalker::processWalkLPAE(), Packet::setBlockCached(), Packet::setCacheResponding(), Packet::setExpressSnoop(), Event::setFlags(), Request::setFlags(), Packet::setHasSharers(), Request::setPhys(), Packet::setResponderHadWritable(), Packet::setSize(), Packet::setSuppressFuncError(), X86ISA::Walker::WalkerState::setupWalk(), Request::setVirt(), Event::squash(), X86ISA::Walker::WalkerState::stepWalk(), and MemTest::tick().
|
private |
Definition at line 38 of file flags.hh.
Referenced by Flags< FlagsType >< FlagsType >::allSet(), Flags< FlagsType >< FlagsType >::clear(), Flags< FlagsType >< FlagsType >::isSet(), Flags< FlagsType >< FlagsType >::noneSet(), Flags< FlagsType >< FlagsType >::operator const Type(), Flags< FlagsType >< FlagsType >::operator=(), Flags< FlagsType >< FlagsType >::set(), and Flags< FlagsType >< FlagsType >::update().