|
void * | get_next_available_memory_addr (u32 size) |
| Returns the address of the next available memory location and updates the memory pointer to reference the next location of available memory based provided size to allocate.
|
|
uintptr_t | set_segment_base_addr (s32 segment, void *addr) |
| Stores the physical memory addr for segmented memory in gSegmentTable using the segment number as an index.
|
|
void * | get_segment_base_addr (s32 segment) |
| Returns the physical memory location of a segment.
|
|
void * | segmented_to_virtual (const void *addr) |
| converts an RSP segment + offset address to a normal memory address
|
|
void | move_segment_table_to_dmem (void) |
|
void | initialize_memory_pool (uintptr_t poolStart, uintptr_t poolEnd) |
| Sets the starting location for allocating memory and calculates pool size.
|
|
void * | allocate_memory (u32 size) |
| Allocates memory and adjusts gFreeMemorySize.
|
|
UNUSED void | func_802A7D54 (s32 arg0, s32 arg1) |
|
void * | load_data (uintptr_t startAddr, uintptr_t endAddr) |
| Allocate and DMA.
|
|
UNUSED void | main_pool_init (u32 start, u32 end) |
|
UNUSED void * | main_pool_alloc (u32 size, u32 side) |
|
UNUSED u32 | main_pool_free (void *addr) |
|
UNUSED void * | main_pool_realloc (void *addr, u32 size) |
|
UNUSED s32 | main_pool_available (void) |
|
UNUSED u32 | main_pool_push_state (void) |
|
UNUSED u32 | main_pool_pop_state (void) |
|
UNUSED void * | func_802A80B0 (u8 *dest, u8 *srcStart, u8 *srcEnd) |
|
UNUSED void * | load_segment (s32 segment, u8 *srcStart, u8 *srcEnd, u8 *side) |
|
UNUSED void * | func_802A8190 (s32 arg0, u8 *arg1) |
|
UNUSED void | func_802A81EC (void) |
|
UNUSED struct AllocOnlyPool * | alloc_only_pool_init (u32 size, u32 side) |
|
UNUSED u32 | func_802A82AC (s32 arg0) |
|
u8 * | dma_compressed_vtx (u8 *start, u8 *end) |
| Returns pointer to mio0 compressed Vtx.
|
|
UNUSED s32 | func_802A8348 (s32 arg0, s32 arg1, s32 arg2) |
|
UNUSED u8 * | func_802A841C (u8 *arg0, s32 arg1, s32 arg2) |
|
u8 * | dma_textures (u8 texture[], size_t arg1, size_t arg2) |
|
u32 | MIO0_0F (u8 *arg0, u32 arg1, u32 arg2) |
|
void | func_802A86A8 (CourseVtx *data, u32 arg1) |
|
void | decompress_vtx (CourseVtx *arg0, u32 vertexCount) |
|
UNUSED void | func_802A8844 (void) |
|
void | unpack_lights (Gfx *arg0, UNUSED u8 *arg1, s8 arg2) |
|
void | unpack_displaylist (Gfx *arg0, u8 *args, UNUSED s8 opcode) |
|
void | unpack_end_displaylist (Gfx *arg0, UNUSED u8 *arg1, UNUSED s8 arg2) |
|
void | unpack_set_geometry_mode (Gfx *arg0, UNUSED u8 *arg1, UNUSED s8 arg2) |
|
void | unpack_clear_geometry_mode (Gfx *arg0, UNUSED u8 *arg1, UNUSED s8 arg2) |
|
void | unpack_cull_displaylist (Gfx *arg0, UNUSED u8 *arg1, UNUSED s8 arg2) |
|
void | unpack_combine_mode1 (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_combine_mode2 (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_combine_mode_shade (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_combine_mode4 (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_combine_mode5 (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_render_mode_opaque (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_render_mode_tex_edge (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_render_mode_translucent (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_render_mode_opaque_decal (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_render_mode_translucent_decal (Gfx *arg0, UNUSED u8 *arg1, UNUSED u32 arg2) |
|
void | unpack_tile_sync (Gfx *gfx, u8 *args, s8 opcode) |
|
void | unpack_tile_load_sync (Gfx *gfx, u8 *args, s8 opcode) |
|
void | unpack_texture_on (Gfx *arg0, UNUSED u8 *args, UNUSED s8 arg2) |
|
void | unpack_texture_off (Gfx *arg0, UNUSED u8 *args, UNUSED s8 arg2) |
|
void | unpack_vtx1 (Gfx *gfx, u8 *args, UNUSED s8 arg2) |
|
void | unpack_vtx2 (Gfx *gfx, u8 *args, s8 arg2) |
|
void | unpack_triangle (Gfx *gfx, u8 *args, UNUSED s8 arg2) |
|
void | unpack_quadrangle (Gfx *gfx, u8 *args, UNUSED s8 arg2) |
|
void | unpack_spline_3D (Gfx *gfx, u8 *arg1, UNUSED s8 arg2) |
|
UNUSED void | func_802A9AEC (void) |
|
void | displaylist_unpack (uintptr_t *data, uintptr_t finalDisplaylistOffset, u32 arg2) |
|
void | decompress_textures (u32 *arg0) |
|
void * | decompress_segments (u8 *start, u8 *end) |
|
u8 * | load_course (s32 courseId) |
| Loads & DMAs course data. Vtx, textures, displaylists, etc.
|
|