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
*/
10
MemBlock
*
HEAP_START
=
HEAP_BASE
;
common.h
heap.h
The heap (system/heap.c)
HEAP_BASE
MemBlock HEAP_BASE[]
The heap's first block, after the overlays: a linker symbol (tools/link_heap.py)
HEAP_START
MemBlock * HEAP_START
The first of the executable's small data (.sdata), where $gp points.
Definition
heap_start.c:10
MemBlock
Header of a heap block; the data follows it.
Definition
heap.h:40
src
engine
data
heap_start.c
Generated by
1.9.8