gem5
v20.0.0.3
|
#include <backdoor.hh>
Classes | |
class | Callback |
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 | |
std::unique_ptr< CallbackQueue > | invalidationCallbacks |
AddrRange | _range |
uint8_t * | _ptr |
Flags | _flags |
Definition at line 38 of file backdoor.hh.
typedef std::function<void(const MemBackdoor &backdoor)> MemBackdoor::CbFunction |
Definition at line 43 of file backdoor.hh.
enum MemBackdoor::Flags |
Enumerator | |
---|---|
NoAccess | |
Readable | |
Writeable |
Definition at line 68 of file backdoor.hh.
Definition at line 110 of file backdoor.hh.
|
inline |
Definition at line 115 of file backdoor.hh.
|
inline |
Definition at line 122 of file backdoor.hh.
References invalidationCallbacks.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr().
|
inline |
Definition at line 107 of file backdoor.hh.
References _flags.
|
inline |
Definition at line 108 of file backdoor.hh.
|
inline |
Definition at line 134 of file backdoor.hh.
References Callback::CallbackQueue, and invalidationCallbacks.
Referenced by AbstractMemory::setBackingStore().
|
inline |
Definition at line 80 of file backdoor.hh.
References _ptr.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr(), SimpleMemory::recvAtomicBackdoor(), and AbstractMemory::setBackingStore().
|
inline |
Definition at line 81 of file backdoor.hh.
References _ptr, and MipsISA::p.
|
inline |
Definition at line 76 of file backdoor.hh.
References _range.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr().
|
inline |
Definition at line 77 of file backdoor.hh.
References _range, and MipsISA::r.
|
inline |
Definition at line 87 of file backdoor.hh.
References _flags, and Readable.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr(), and sc_gem5::Gem5ToTlmBridge< BITWIDTH >::getBackdoor().
|
inline |
Definition at line 89 of file backdoor.hh.
|
inline |
Definition at line 97 of file backdoor.hh.
References _flags, and Writeable.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr().
|
inline |
Definition at line 99 of file backdoor.hh.
|
private |
Definition at line 147 of file backdoor.hh.
Referenced by flags(), readable(), and writeable().
|
private |
Definition at line 146 of file backdoor.hh.
Referenced by ptr().
|
private |
Definition at line 145 of file backdoor.hh.
Referenced by range().
|
private |
Definition at line 143 of file backdoor.hh.
Referenced by addInvalidationCallback(), and invalidate().