gem5
v20.1.0.0
|
#include <self_debug.hh>
Public Member Functions | |
WatchPoint (MiscRegIndex ctrl_index, MiscRegIndex val_index, SelfDebug *_conf, bool lva, bool aarch32) | |
bool | compareAddress (ThreadContext *tc, Addr in_addr, uint8_t bas, uint8_t mask, unsigned size) |
Addr | getAddrfromReg (ThreadContext *tc) |
bool | isDoubleAligned (Addr addr) |
void | updateControl (DBGWCR val) |
bool | isEnabled (ThreadContext *tc, ExceptionLevel el, bool hmc, uint8_t ssc, uint8_t pac) |
bool | test (ThreadContext *tc, Addr addr, ExceptionLevel el, bool &wrt, bool atomic, unsigned size) |
Private Attributes | |
MiscRegIndex | ctrlRegIndex |
MiscRegIndex | valRegIndex |
SelfDebug * | conf |
bool | enable |
int | maxAddrSize |
Friends | |
class | SelfDebug |
Definition at line 143 of file self_debug.hh.
|
inline |
Definition at line 155 of file self_debug.hh.
References maxAddrSize.
bool WatchPoint::compareAddress | ( | ThreadContext * | tc, |
Addr | in_addr, | ||
uint8_t | bas, | ||
uint8_t | mask, | ||
unsigned | size | ||
) |
Definition at line 601 of file self_debug.cc.
References addr, ArmISA::bas, bits(), ArmISA::i, ArmISA::j, ArmISA::mask, and ArmISA::v.
|
inline |
Definition at line 168 of file self_debug.hh.
References bits(), maxAddrSize, ThreadContext::readMiscReg(), and valRegIndex.
|
inline |
Definition at line 174 of file self_debug.hh.
References addr.
bool WatchPoint::isEnabled | ( | ThreadContext * | tc, |
ExceptionLevel | el, | ||
bool | hmc, | ||
uint8_t | ssc, | ||
uint8_t | pac | ||
) |
Definition at line 535 of file self_debug.cc.
References ArmISA::el, ArmISA::EL0, ArmISA::EL1, ArmISA::EL2, ArmISA::EL3, ArmSystem::haveEL(), ArmISA::hmc, ArmISA::pac, panic, ArmISA::SelfDebug::securityStateMatch(), ArmISA::ssc, and ArmISA::v.
bool WatchPoint::test | ( | ThreadContext * | tc, |
Addr | addr, | ||
ExceptionLevel | el, | ||
bool & | wrt, | ||
bool | atomic, | ||
unsigned | size | ||
) |
Definition at line 581 of file self_debug.cc.
References addr, ArmISA::atomic, ArmISA::el, ThreadContext::readMiscReg(), and ArmISA::v.
|
inline |
Definition at line 180 of file self_debug.hh.
References enable, and X86ISA::val.
Referenced by ArmISA::SelfDebug::init().
|
friend |
Definition at line 153 of file self_debug.hh.
|
private |
Definition at line 148 of file self_debug.hh.
|
private |
Definition at line 146 of file self_debug.hh.
|
private |
Definition at line 149 of file self_debug.hh.
Referenced by updateControl().
|
private |
Definition at line 150 of file self_debug.hh.
Referenced by getAddrfromReg(), and WatchPoint().
|
private |
Definition at line 147 of file self_debug.hh.
Referenced by getAddrfromReg().