gem5
v20.1.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 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 46 of file backdoor.hh.
Definition at line 88 of file backdoor.hh.
|
inline |
Definition at line 92 of file backdoor.hh.
|
inline |
Definition at line 99 of file backdoor.hh.
References invalidationCallbacks.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr().
|
inline |
Definition at line 85 of file backdoor.hh.
References _flags.
|
inline |
Definition at line 86 of file backdoor.hh.
|
inline |
Definition at line 109 of file backdoor.hh.
References invalidationCallbacks, and CallbackQueue::process().
Referenced by AbstractMemory::setBackingStore().
|
inline |
Definition at line 58 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 59 of file backdoor.hh.
References _ptr, and MipsISA::p.
|
inline |
Definition at line 54 of file backdoor.hh.
References _range.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr().
|
inline |
Definition at line 55 of file backdoor.hh.
References _range, and MipsISA::r.
|
inline |
Definition at line 65 of file backdoor.hh.
References _flags, and Readable.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr().
|
inline |
Definition at line 67 of file backdoor.hh.
References _flags, MipsISA::r, and Readable.
|
inline |
Definition at line 75 of file backdoor.hh.
References _flags, and Writeable.
Referenced by sc_gem5::TlmToGem5Bridge< BITWIDTH >::get_direct_mem_ptr().
|
inline |
Definition at line 77 of file backdoor.hh.
References _flags, MipsISA::w, and Writeable.
|
private |
Definition at line 120 of file backdoor.hh.
Referenced by flags(), readable(), and writeable().
|
private |
Definition at line 119 of file backdoor.hh.
Referenced by ptr().
|
private |
Definition at line 118 of file backdoor.hh.
Referenced by range().
|
private |
Definition at line 116 of file backdoor.hh.
Referenced by addInvalidationCallback(), and invalidate().