mirror of
https://github.com/zeldaret/ss
synced 2026-09-03 09:59:55 -04:00
some fManager, fBase, mHeap, f - lists and tree stuff
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include "egg/core/eggHeap.h"
|
||||
#include <common.h>
|
||||
|
||||
|
||||
namespace EGG {
|
||||
|
||||
class ExpHeap : public Heap {
|
||||
@@ -22,7 +21,7 @@ public:
|
||||
public:
|
||||
/* 80495ab0 */ ExpHeap(MEMiHeapHead *heapHead);
|
||||
/* 80495b70 */ static ExpHeap *create(void *block, u32 size, u16 attr);
|
||||
/* 80495c30 */ static ExpHeap *create(u32 size, Heap *heap, u16 attr);
|
||||
/* 80495c30 */ static ExpHeap *create(size_t size, Heap *heap, u16 attr);
|
||||
/* 80495d00 */ void setGroupID(u16 groupId);
|
||||
/* 80495f80 */ u32 getSizeForMBlock(const void *block);
|
||||
};
|
||||
|
||||
@@ -65,6 +65,9 @@ public:
|
||||
/* vt 0x28 | 00000000 */ virtual u32 adjust() = 0;
|
||||
|
||||
public:
|
||||
void setName(const char *name) {
|
||||
mName = name;
|
||||
}
|
||||
inline bool isExpHeap() {
|
||||
return getHeapKind() == HEAP_KIND_EXPANDED;
|
||||
}
|
||||
@@ -94,7 +97,7 @@ public:
|
||||
/* 80495690 */ static Heap *findHeap(MEMiHeapHead *heapHandle);
|
||||
/* 80495730 */ Heap *findParentHeap();
|
||||
/* 80495780 */ static Heap *findContainHeap(const void *memBlock);
|
||||
/* 80495560 */ static void *alloc(u32 size, int align, Heap *heap);
|
||||
/* 80495560 */ static void *alloc(size_t size, int align, Heap *heap);
|
||||
/* 804957c0 */ static void free(void *memBlock, Heap *heap);
|
||||
/* 80495830 */ void dispose();
|
||||
/* 804958a0 */ void dump();
|
||||
|
||||
Reference in New Issue
Block a user