Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
heap_start.c
Go to the documentation of this file.
1#include "common.h"
2#include "engine/heap.h"
3
4/*
5 * The first of the executable's small data (.sdata), where $gp points.
6 * system/heap.c reads it through its address: defined there, a -G8 unit,
7 * GCC would read it through $gp. Its owner is linked before game/items,
8 * whose small data come next.
9 */
The heap (system/heap.c)
MemBlock HEAP_BASE[]
The heap's first block, after the overlays: a linker symbol (tools/link_heap.py)
MemBlock * HEAP_START
The first of the executable's small data (.sdata), where $gp points.
Definition heap_start.c:10
Header of a heap block; the data follows it.
Definition heap.h:40