|
gem5 v23.0.0.1
|
#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 |
Definition at line 99 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::load().
|
inline |
Definition at line 105 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::flush().
|
inline |
Definition at line 97 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::ptr.
Definition at line 66 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::data, gem5::ProxyPtrBuffer< Proxy >::markDirty(), and gem5::ProxyPtrBuffer< Proxy >::size.
|
inline |
Definition at line 75 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::data, and gem5::ProxyPtrBuffer< Proxy >::size.
|
inline |
Definition at line 82 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::data, gem5::ProxyPtrBuffer< Proxy >::isDirty(), gem5::ProxyPtrBuffer< Proxy >::markClean(), gem5::ProxyPtrBuffer< Proxy >::proxy, gem5::ProxyPtrBuffer< Proxy >::ptr, and gem5::ProxyPtrBuffer< Proxy >::size.
Referenced by gem5::ProxyPtrBuffer< Proxy >::~ProxyPtrBuffer().
|
inline |
Definition at line 59 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::proxy.
|
inline |
Definition at line 62 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::dirty.
Referenced by gem5::ProxyPtrBuffer< Proxy >::flush(), and gem5::ProxyPtrBuffer< Proxy >::load().
|
inline |
Definition at line 91 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::data, gem5::ProxyPtrBuffer< Proxy >::isDirty(), panic_if, gem5::ProxyPtrBuffer< Proxy >::proxy, gem5::ProxyPtrBuffer< Proxy >::ptr, and gem5::ProxyPtrBuffer< Proxy >::size.
Referenced by gem5::ProxyPtrBuffer< Proxy >::ProxyPtrBuffer().
|
inlineprivate |
Definition at line 55 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::dirty.
Referenced by gem5::ProxyPtrBuffer< Proxy >::flush().
|
inline |
Definition at line 61 of file proxy_ptr.hh.
References gem5::ProxyPtrBuffer< Proxy >::dirty.
Referenced by gem5::ProxyPtrBuffer< Proxy >::as().
|
private |
Definition at line 51 of file proxy_ptr.hh.
Referenced by gem5::ProxyPtrBuffer< Proxy >::as(), gem5::ProxyPtrBuffer< Proxy >::asConst(), gem5::ProxyPtrBuffer< Proxy >::flush(), and gem5::ProxyPtrBuffer< Proxy >::load().
|
private |
Definition at line 53 of file proxy_ptr.hh.
Referenced by gem5::ProxyPtrBuffer< Proxy >::isDirty(), gem5::ProxyPtrBuffer< Proxy >::markClean(), and gem5::ProxyPtrBuffer< Proxy >::markDirty().
|
private |
Definition at line 47 of file proxy_ptr.hh.
Referenced by gem5::ProxyPtrBuffer< Proxy >::flush(), gem5::ProxyPtrBuffer< Proxy >::getProxy(), and gem5::ProxyPtrBuffer< Proxy >::load().
|
private |
Definition at line 49 of file proxy_ptr.hh.
Referenced by gem5::ProxyPtrBuffer< Proxy >::addr(), gem5::ProxyPtrBuffer< Proxy >::flush(), and gem5::ProxyPtrBuffer< Proxy >::load().
|
private |
Definition at line 50 of file proxy_ptr.hh.
Referenced by gem5::ProxyPtrBuffer< Proxy >::as(), gem5::ProxyPtrBuffer< Proxy >::asConst(), gem5::ProxyPtrBuffer< Proxy >::flush(), and gem5::ProxyPtrBuffer< Proxy >::load().