|
ReXGlue SDK
|
#include <rex/kernel/guest_allocator.h>
Public Member Functions | |
| virtual Result< u32 > | Allocate (u32 size, bool zero)=0 |
| virtual void | Free (u32 address)=0 |
Interface XAM uses to allocate from the title workspace.
|
nodiscardpure virtual |
Allocates bytes from the workspace.
| zero | True to zero the bytes. |
Implemented in rex::kernel::WorkspaceHeap.
|
pure virtual |
Frees an address from Allocate. An address outside the workspace is logged and ignored.
| address | The guest address, 0 for none. |
Implemented in rex::kernel::WorkspaceHeap.