The heaps: allocating and freeing blocks. More...
Go to the source code of this file.
Functions | |
| void | Runtime_ReleaseHeapBlock (s32 slot) |
| void | Runtime_BumpFree (void *buffer) |
| void | MemFree (void *buffer) |
| void | Runtime_FillFreeHeapWords (u32 value) |
| static __inline__ void * | Runtime_CallAlternatePool (void *(*allocate)(s32), s32 size) |
Variables | |
| u8 | gEwramHeap [] |
| u8 | gIwramHeap [] |
The heaps: allocating and freeing blocks.
Definition in file mem.h.
| void Runtime_ReleaseHeapBlock | ( | s32 | slot | ) |
Referenced by Battle_CollectPartyCommands(), BattleBackground_Load(), BattleEffect_CleanupSceneObjects(), BattleFx_ClearActiveSlotsAndScheduleUpdates(), BattleFx_DispatchByIdRange(), BattleFx_EndElementStreaks(), BattleFx_FinishSceneAndReleaseHeapBlock(), BattleFx_RunAnnihilation(), BattleFx_RunBolt(), BattleFx_RunCastingImpact(), BattleFx_RunElementBurst(), BattleFx_RunElementPillar(), BattleFx_RunFlare(), BattleFx_RunFlashingStrike(), BattleFx_RunGround(), BattleFx_RunJudgment(), BattleFx_RunParticleStreams(), BattleFx_RunProjectileVolley(), BattleFx_RunSceneEffect(), BattleFx_RunShatteringOpening(), BattleFx_RunSpiderWeb(), BattleFx_RunStatBoost(), BattleFx_RunTableEffect(), BattleFx_RunTargetMotes(), BattleFx_RunTargetStrike(), BattleFx_RunThor(), BattleFx_RunUndeadSword(), BattleFx_StartEffectObject22(), BattleFx_StartFadeOverlay(), BattleFx_StartRandomParticleEmitter(), BattlePalette_StopBlendAndReleaseBuffer(), BattlePres_RunEntryTransition(), Colosso_ShowItemIcon(), DjinnMenu_Run(), Field_RunScene(), FieldEffect_InitSparkles(), FieldFx_StartGroundParticles(), FieldMotes_Start(), Graphics_LoadCharacterBlockAndPalette(), Graphics_ResetVramBlockAndReleaseHeapBlocks(), ItemIcon_LoadIntoSlot(), ItemMenu_Run(), ItemMenu_SelectGiveQuantity(), LinkLobby_EnterBattle(), LuckyDice_Run(), Map_WriteLayerCellTile(), Menu_EndResourceSelection(), Menu_OpenCharacterSelector(), Menu_ReleaseSelectionWorkspace(), ObjectSystem_UpdateCamera(), ObjectSystem_UpdateCameraFixed(), OptionMenu_Release(), PaletteFade_Release(), PaletteQueue_Stop(), PartyStatus_Close(), PsynergyMenu_Run(), ReelGame_Run(), RenderResource_LoadFrame(), RenderResource_LoadPair(), Resource_LoadIndexedEntryToBuffer(), Resource_LoadIndexedIntoBuffer(), Resource_LoadTableEntryToBuffer(), Resource_ResetOwnerEntries(), Runtime_ReleaseHeapBlock(), Runtime_ReleaseHeapBlock10(), Sanctum_RaiseItemIcon(), SaveState_ReleaseWorkspace(), SelectionScreen_LoadLargeIcon(), Shop_CreatePriceSprite(), Shop_ReleaseCursorWork(), Shop_SelectQuantity(), StatusMenu_Run(), SystemMenu_Release(), TileMap_DrawRowsFromRam(), Title_ShowIntro(), Ui_BuildPairedPatternsToSlot(), Ui_BuildPatternToSlot(), UiGlyph_LoadEntryWithPalette(), UiIcon_BuildAbilityIconTiles(), UiIcon_BuildItemIconTiles(), UiIcon_CopyResourceToSlot(), UiIcon_Decode(), UiIcon_Decompress(), UiIcon_LoadResourceIntoSlot(), UiText_BuildRenderEntries(), UiText_DecodeMessage(), UiText_LoadRemappedGlyph(), and WaitFrames().
| void Runtime_BumpFree | ( | void * | buffer | ) |
| void MemFree | ( | void * | buffer | ) |
Referenced by Battle_AwardSpoils(), Battle_CollectPartyCommands(), Battle_SelectAbility(), BattleEnemy_AdjustLevel(), BattleFormation_SelectLevelMatchedCandidate(), BattleFx_SetupResourcesAndWindow(), BattlePres_BuildUnitEntries(), BattlePresentation_AppendLinkedActions(), BattleTargetExec(), BattleUnit_ProcessTurnEnd(), Debug_SelectAbilityPair(), DisplayScroll_DrawLine(), DjinnMenu_DrawStatPreview(), DjinnMenu_Run(), DjinnMenu_ShowChangePreview(), DjinnMenu_ShowOwnerStatus(), HeatGauge_Draw(), ItemMenu_ConfirmEquip(), ItemMenu_DrawEquipPreview(), ItemMenu_Run(), ItemMenu_RunCommands(), LinkBattle_ReceiveParty(), LinkBattle_SendParty(), Map_LoadLayeredScene(), MemFree(), Menu_DrawOwnerStatusPanel(), Menu_LoadResourceSlot(), Menu_RunCommandRow(), Object_RunUpdateAllFromHeap(), Owner_LevelUp(), OwnerAction_RunCompareLoop(), PsynergyMenu_Run(), PsynergyMenu_SelectMember(), Render_BuildOamList(), Resource_LoadCode(), RunLuckyDice(), RunReelGame(), SaveState_ProcessSelectedSlot(), Sprite_ComposeAnimationFrame(), StatusMenu_Run(), StatusMenu_ShowOwnerProgressMessage(), Tilemap_ConvertBuffer(), Title_LoadSprites(), Ui_RunOwnerStatusScreen(), UiText_DrawGlyph(), UiText_DrawString(), UiText_DrawStringAtOffset(), UiText_DrawStringInWindow(), UiText_LoadRemappedGlyph(), UiText_LookupMessage(), UiText_RenderStringTiles(), UiWindow_CopyTilemapRegion(), UiWindow_FillFromScene(), UnitCalc(), WorldMap_LoadGraphics(), and WorldMap_PlayLighthouseTransition().
| void Runtime_FillFreeHeapWords | ( | u32 | value | ) |
Referenced by Runtime_FillFreeHeapWords().
Definition at line 15 of file mem.h.
Referenced by Colosso_DrawGauge(), Curtain_Start(), and Runtime_CallAlternatePool().
|
extern |
Referenced by Runtime_InitializeHeap().
|
extern |
Referenced by Runtime_InitializeHeap().