|
ReXGlue SDK
|
#include <rex/kernel/types/memory.h>
Public Member Functions | |
| operator u32 () const | |
| u32 | GetAddress () const |
| operator bool () const | |
| T * | GetHost () const |
| T * | TryGetHost () const |
| T * | GetHost (const rex::kernel::MemoryView &view) const |
| T * | TryGetHost (const rex::kernel::MemoryView &view) const |
| T * | operator-> () const |
| be_ptr & | operator= (u32 v) |
| template<typename P> requires (detail::kIsHostPointerFor<P, T>) | |
| be_ptr & | operator= (P host_pointer) |
Public Attributes | |
| be_u32 | value |
Typed guest pointer that resolves to a host pointer.
|
inline |
|
inline |
Resolves the pointer through the guest memory of the calling thread.
|
inline |
Resolves the pointer through a memory view, for a host thread with no bound runtime.
|
inline |
Sets the pointer to a host pointer into the guest memory of the calling thread.
| P | The host pointer type, convertible to const T*, or std::nullptr_t. |
| host_pointer | The host pointer, null for a null pointer. |
|
inline |
Resolves the pointer through the guest memory of the calling thread only when the title could read it.
|
inline |
Resolves the pointer through a memory view only when the title could read it, for a host thread with no bound runtime.