#include <JKRSolidHeap.h>
|
virtual u32 | getHeapType (void) |
|
virtual bool | check (void) |
|
virtual bool | dump (void) |
|
virtual void | do_destroy (void) |
|
virtual void * | do_alloc (u32, int) |
|
virtual void | do_free (void *) |
|
virtual void | do_freeAll (void) |
|
virtual void | do_freeTail (void) |
|
virtual void | do_fillFreeArea (void) |
|
virtual s32 | do_resize (void *, u32) |
|
virtual s32 | do_getSize (void *) |
|
virtual s32 | do_getFreeSize (void) |
|
virtual void * | do_getMaxFreeBlock (void) |
|
virtual s32 | do_getTotalFreeSize (void) |
|
virtual void | state_register (JKRHeap::TState *, u32) const |
|
virtual bool | state_compare (JKRHeap::TState const &, JKRHeap::TState const &) const |
|
s32 | adjustSize (void) |
|
| JKRHeap (void *data, u32 size, JKRHeap *parent, bool errorFlag) |
|
virtual | ~JKRHeap () |
|
JKRHeap * | becomeSystemHeap () |
|
JKRHeap * | becomeCurrentHeap () |
|
void | destroy () |
|
void * | alloc (u32 size, int alignment) |
|
void | free (void *ptr) |
|
void | freeAll () |
|
void | freeTail () |
|
s32 | resize (void *ptr, u32 size) |
|
s32 | getSize (void *ptr) |
|
s32 | getFreeSize () |
|
void * | getMaxFreeBlock () |
|
s32 | getTotalFreeSize () |
|
s32 | changeGroupID (u8 newGroupId) |
|
u32 | getMaxAllocatableSize (int alignment) |
|
JKRHeap * | find (void *ptr) const |
|
JKRHeap * | findAllHeap (void *ptr) const |
|
void | dispose_subroutine (u32 start, u32 end) |
|
bool | dispose (void *ptr, u32 size) |
|
void | dispose (void *begin, void *end) |
|
void | dispose () |
|
bool | setErrorFlag (bool errorFlag) |
|
bool | isSubHeap (JKRHeap *heap) const |
|
virtual void | callAllDisposer () |
|
virtual bool | dump_sort () |
|
virtual s32 | do_changeGroupID (u8 newGroupID) |
|
virtual u8 | do_getCurrentGroupId () |
|
virtual void | state_dump (JKRHeap::TState const &p) const |
|
void | setDebugFill (bool debugFill) |
|
bool | getDebugFill () const |
|
void * | getStartAddr () const |
|
void * | getEndAddr () const |
|
u32 | getSize () const |
|
bool | getErrorFlag () const |
|
void | callErrorHandler (JKRHeap *heap, u32 size, int alignment) |
|
JKRHeap * | getParent () const |
|
JSUTree< JKRHeap > & | getHeapTree () |
|
void | appendDisposer (JKRDisposer *disposer) |
|
void | removeDisposer (JKRDisposer *disposer) |
|
void | lock () |
|
void | unlock () |
|
u32 | getHeapSize () |
|
| JKRDisposer () |
|
virtual | ~JKRDisposer () |
|
|
static JKRSolidHeap * | create (u32, JKRHeap *, bool) |
|
static bool | initArena (char **memory, u32 *size, int maxHeaps) |
|
static void * | alloc (u32 size, int alignment, JKRHeap *heap) |
|
static void | free (void *ptr, JKRHeap *heap) |
|
static s32 | resize (void *ptr, u32 size, JKRHeap *heap) |
|
static s32 | getSize (void *ptr, JKRHeap *heap) |
|
static JKRHeap * | findFromRoot (void *ptr) |
|
static void | copyMemory (void *dst, void *src, u32 size) |
|
static void | fillMemory (void *dst, u32 size, u8 value) |
|
static bool | checkMemoryFilled (void *src, u32 size, u8 value) |
|
static JKRErrorHandler | setErrorHandler (JKRErrorHandler errorHandler) |
|
static void | setDefaultDebugFill (bool status) |
|
static void * | getCodeStart (void) |
|
static void * | getCodeEnd (void) |
|
static void * | getUserRamStart (void) |
|
static void * | getUserRamEnd (void) |
|
static u32 | getMemorySize (void) |
|
static JKRHeap * | getRootHeap () |
|
static JKRHeap * | getRootHeap2 () |
|
static JKRHeap * | getSystemHeap () |
|
static JKRHeap * | getCurrentHeap () |
|
static void | setSystemHeap (JKRHeap *heap) |
|
static void | setCurrentHeap (JKRHeap *heap) |
|
static void | setState_u32ID_ (TState *state, u32 id) |
|
static void | setState_uUsedSize_ (TState *state, u32 usedSize) |
|
static void | setState_u32CheckCode_ (TState *state, u32 checkCode) |
|
static void * | getState_buf_ (TState *state) |
|
static void * | getState_ (TState *state) |
|
◆ JKRSolidHeap()
JKRSolidHeap::JKRSolidHeap |
( |
void * |
start, |
|
|
u32 |
size, |
|
|
JKRHeap * |
parent, |
|
|
bool |
useErrorHandler |
|
) |
| |
|
protected |
◆ ~JKRSolidHeap()
JKRSolidHeap::~JKRSolidHeap |
( |
void |
| ) |
|
|
protectedvirtual |
◆ adjustSize()
s32 JKRSolidHeap::adjustSize |
( |
void |
| ) |
|
◆ allocFromHead()
void * JKRSolidHeap::allocFromHead |
( |
u32 |
size, |
|
|
int |
alignment |
|
) |
| |
|
protected |
◆ allocFromTail()
void * JKRSolidHeap::allocFromTail |
( |
u32 |
size, |
|
|
int |
alignment |
|
) |
| |
|
protected |
◆ check()
◆ create()
◆ do_alloc()
void * JKRSolidHeap::do_alloc |
( |
u32 |
size, |
|
|
int |
alignment |
|
) |
| |
|
virtual |
◆ do_destroy()
◆ do_fillFreeArea()
void JKRSolidHeap::do_fillFreeArea |
( |
void |
| ) |
|
|
virtual |
◆ do_free()
void JKRSolidHeap::do_free |
( |
void * |
ptr | ) |
|
|
virtual |
◆ do_freeAll()
◆ do_freeTail()
◆ do_getFreeSize()
s32 JKRSolidHeap::do_getFreeSize |
( |
void |
| ) |
|
|
virtual |
◆ do_getMaxFreeBlock()
void * JKRSolidHeap::do_getMaxFreeBlock |
( |
void |
| ) |
|
|
virtual |
◆ do_getSize()
s32 JKRSolidHeap::do_getSize |
( |
void * |
ptr | ) |
|
|
virtual |
◆ do_getTotalFreeSize()
s32 JKRSolidHeap::do_getTotalFreeSize |
( |
void |
| ) |
|
|
virtual |
◆ do_resize()
s32 JKRSolidHeap::do_resize |
( |
void * |
ptr, |
|
|
u32 |
newSize |
|
) |
| |
|
virtual |
◆ dump()
◆ getHeapType()
u32 JKRSolidHeap::getHeapType |
( |
void |
| ) |
|
|
virtual |
◆ getUsedSize()
◆ state_compare()
◆ state_register()
◆ field_0x78
◆ mFreeSize
u32 JKRSolidHeap::mFreeSize |
|
private |
◆ mSolidHead
u8* JKRSolidHeap::mSolidHead |
|
private |
◆ mSolidTail
u8* JKRSolidHeap::mSolidTail |
|
private |
The documentation for this class was generated from the following files: