|
gem5
v21.0.1.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 41 of file proxy_ptr.hh.
|
inline |
Definition at line 96 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::load().
|
inline |
Definition at line 102 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::flush().
|
inline |
Definition at line 94 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::ptr.
Definition at line 63 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::data, ProxyPtrBuffer< Proxy >::markDirty(), and ProxyPtrBuffer< Proxy >::size.
|
inline |
Definition at line 72 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::data, and ProxyPtrBuffer< Proxy >::size.
|
inline |
Definition at line 79 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::data, ProxyPtrBuffer< Proxy >::isDirty(), ProxyPtrBuffer< Proxy >::markClean(), ProxyPtrBuffer< Proxy >::proxy, ProxyPtrBuffer< Proxy >::ptr, and ProxyPtrBuffer< Proxy >::size.
Referenced by ProxyPtrBuffer< Proxy >::~ProxyPtrBuffer().
|
inline |
Definition at line 56 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::proxy.
|
inline |
Definition at line 59 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::dirty.
Referenced by ProxyPtrBuffer< Proxy >::flush(), and ProxyPtrBuffer< Proxy >::load().
|
inline |
Definition at line 88 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::data, ProxyPtrBuffer< Proxy >::isDirty(), panic_if, ProxyPtrBuffer< Proxy >::proxy, ProxyPtrBuffer< Proxy >::ptr, and ProxyPtrBuffer< Proxy >::size.
Referenced by ProxyPtrBuffer< Proxy >::ProxyPtrBuffer().
|
inlineprivate |
Definition at line 52 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::dirty.
Referenced by ProxyPtrBuffer< Proxy >::flush().
|
inline |
Definition at line 58 of file proxy_ptr.hh.
References ProxyPtrBuffer< Proxy >::dirty.
Referenced by ProxyPtrBuffer< Proxy >::as().
|
private |
Definition at line 48 of file proxy_ptr.hh.
Referenced by ProxyPtrBuffer< Proxy >::as(), ProxyPtrBuffer< Proxy >::asConst(), ProxyPtrBuffer< Proxy >::flush(), and ProxyPtrBuffer< Proxy >::load().
|
private |
Definition at line 50 of file proxy_ptr.hh.
Referenced by ProxyPtrBuffer< Proxy >::isDirty(), ProxyPtrBuffer< Proxy >::markClean(), and ProxyPtrBuffer< Proxy >::markDirty().
|
private |
Definition at line 44 of file proxy_ptr.hh.
Referenced by ProxyPtrBuffer< Proxy >::flush(), ProxyPtrBuffer< Proxy >::getProxy(), and ProxyPtrBuffer< Proxy >::load().
|
private |
Definition at line 46 of file proxy_ptr.hh.
Referenced by ProxyPtrBuffer< Proxy >::addr(), ProxyPtrBuffer< Proxy >::flush(), and ProxyPtrBuffer< Proxy >::load().
|
private |
Definition at line 47 of file proxy_ptr.hh.
Referenced by ProxyPtrBuffer< Proxy >::as(), ProxyPtrBuffer< Proxy >::asConst(), ProxyPtrBuffer< Proxy >::flush(), and ProxyPtrBuffer< Proxy >::load().