|
gem5 [DEVELOP-FOR-25.0]
|
#include <proxy_ptr.hh>
Public Member Functions | |
| std::shared_ptr< Proxy > | getProxy () const |
| void | markDirty () |
| bool | isDirty () |
| template<typename T> | |
| T & | as () |
| template<typename T> | |
| const T & | asConst () const |
| void | flush (bool force=false) |
| void | load () |
| Addr | addr () const |
| ProxyPtrBuffer (std::shared_ptr< Proxy > _proxy, Addr _ptr, size_t _size) | |
| ~ProxyPtrBuffer () | |
Private Member Functions | |
| void | markClean () |
Private Attributes | |
| std::shared_ptr< Proxy > | proxy |
| Addr | ptr |
| size_t | size |
| std::unique_ptr< uint8_t[]> | data |
| bool | dirty = false |
Definition at line 44 of file proxy_ptr.hh.
|
inline |
|
inline |
Definition at line 105 of file proxy_ptr.hh.
References flush().
|
inline |
Definition at line 97 of file proxy_ptr.hh.
References ptr.
Definition at line 66 of file proxy_ptr.hh.
References data, markDirty(), and size.
|
inline |
Definition at line 75 of file proxy_ptr.hh.
|
inline |
Definition at line 82 of file proxy_ptr.hh.
References data, isDirty(), markClean(), proxy, ptr, and size.
Referenced by ~ProxyPtrBuffer().
|
inline |
Definition at line 59 of file proxy_ptr.hh.
References proxy.
|
inline |
|
inline |
Definition at line 91 of file proxy_ptr.hh.
References data, isDirty(), panic_if, proxy, ptr, and size.
Referenced by ProxyPtrBuffer().
|
inlineprivate |
|
inline |
|
private |
Definition at line 51 of file proxy_ptr.hh.
Referenced by as(), asConst(), flush(), load(), and ProxyPtrBuffer().
|
private |
Definition at line 53 of file proxy_ptr.hh.
Referenced by isDirty(), markClean(), and markDirty().
|
private |
Definition at line 47 of file proxy_ptr.hh.
Referenced by flush(), getProxy(), load(), and ProxyPtrBuffer().
|
private |
Definition at line 49 of file proxy_ptr.hh.
Referenced by addr(), flush(), load(), and ProxyPtrBuffer().
|
private |
Definition at line 50 of file proxy_ptr.hh.
Referenced by as(), asConst(), flush(), load(), and ProxyPtrBuffer().