gem5 v24.0.0.0
|
#include <backdoor.hh>
Public Types | |
enum | Flags { NoAccess = 0x0 , Readable = 0x1 , Writeable = 0x2 } |
typedef std::function< void(const MemBackdoor &backdoor)> | CbFunction |
Public Member Functions | |
const AddrRange & | range () const |
void | range (const AddrRange &r) |
uint8_t * | ptr () const |
void | ptr (uint8_t *p) |
bool | readable () const |
void | readable (bool r) |
bool | writeable () const |
void | writeable (bool w) |
Flags | flags () const |
void | flags (Flags f) |
MemBackdoor (AddrRange r, uint8_t *p, Flags flags) | |
MemBackdoor () | |
void | addInvalidationCallback (CbFunction func) |
void | invalidate () |
Private Attributes | |
CallbackQueue | invalidationCallbacks |
AddrRange | _range |
uint8_t * | _ptr |
Flags | _flags |
Definition at line 41 of file backdoor.hh.
typedef std::function<void(const MemBackdoor &backdoor)> gem5::MemBackdoor::CbFunction |
Definition at line 46 of file backdoor.hh.
Enumerator | |
---|---|
NoAccess | |
Readable | |
Writeable |
Definition at line 49 of file backdoor.hh.
Definition at line 92 of file backdoor.hh.
|
inline |
Definition at line 96 of file backdoor.hh.
|
inline |
Definition at line 103 of file backdoor.hh.
References invalidationCallbacks.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::cacheBackdoor(), and gem5::BackdoorManager::createRevertedBackdoor().
|
inline |
Definition at line 89 of file backdoor.hh.
References _flags.
Referenced by gem5::BackdoorManager::createRevertedBackdoor().
|
inline |
Definition at line 90 of file backdoor.hh.
References _flags, and gem5::ArmISA::f.
|
inline |
Definition at line 113 of file backdoor.hh.
References invalidationCallbacks, and gem5::CallbackQueue::process().
Referenced by gem5::memory::AbstractMemory::addLockedAddr(), gem5::memory::AbstractMemory::setBackingStore(), gem5::backdoor_manager_test::TEST_F(), gem5::backdoor_manager_test::TEST_F(), gem5::backdoor_manager_test::TEST_F(), and gem5::memory::AbstractMemory::trackLoadLocked().
|
inline |
Definition at line 62 of file backdoor.hh.
References _ptr.
Referenced by gem5::BackdoorManager::createRevertedBackdoor(), gem5::memory::AbstractMemory::getBackdoor(), gem5::memory::CfiMemory::recvAtomicBackdoor(), gem5::memory::CfiMemory::recvMemBackdoorReq(), gem5::memory::AbstractMemory::setBackingStore(), gem5::backdoor_manager_test::TEST_F(), and gem5::backdoor_manager_test::TEST_F().
|
inline |
Definition at line 63 of file backdoor.hh.
References _ptr, and gem5::MipsISA::p.
|
inline |
Definition at line 58 of file backdoor.hh.
References _range.
Referenced by gem5::BackdoorManager::createRevertedBackdoor(), sc_gem5::TlmToGem5Bridge< BITWIDTH >::invalidateDmi(), gem5::backdoor_manager_test::TEST_F(), and gem5::backdoor_manager_test::TEST_F().
|
inline |
Definition at line 59 of file backdoor.hh.
References _range, and gem5::MipsISA::r.
|
inline |
Definition at line 69 of file backdoor.hh.
|
inline |
Definition at line 71 of file backdoor.hh.
References _flags, gem5::MipsISA::r, and Readable.
|
inline |
Definition at line 79 of file backdoor.hh.
|
inline |
Definition at line 81 of file backdoor.hh.
References _flags, gem5::MipsISA::w, and Writeable.
|
private |
Definition at line 124 of file backdoor.hh.
Referenced by flags(), flags(), readable(), readable(), writeable(), and writeable().
|
private |
Definition at line 123 of file backdoor.hh.
|
private |
Definition at line 122 of file backdoor.hh.
|
private |
Definition at line 120 of file backdoor.hh.
Referenced by addInvalidationCallback(), and invalidate().