mirror of
https://github.com/zeldaret/oot.git
synced 2025-01-26 02:27:02 +00:00
Small cleanup of cleararena (bootclear) (#1999)
* cleararena use boot end * cleararena -> bootclear
This commit is contained in:
parent
e1dc4cf448
commit
2361a33307
1 changed files with 3 additions and 3 deletions
|
@ -7,15 +7,15 @@ STACK(sIdleThreadStack, 0x400);
|
|||
StackEntry sIdleThreadInfo;
|
||||
STACK(sBootThreadStack, BOOT_STACK_SIZE);
|
||||
|
||||
void cleararena(void) {
|
||||
bzero(_dmadataSegmentStart, osMemSize - OS_K0_TO_PHYSICAL(_dmadataSegmentStart));
|
||||
void bootclear(void) {
|
||||
bzero(_bootSegmentEnd, osMemSize - OS_K0_TO_PHYSICAL(_bootSegmentEnd));
|
||||
}
|
||||
|
||||
void bootproc(void) {
|
||||
StackCheck_Init(&sBootThreadInfo, sBootThreadStack, STACK_TOP(sBootThreadStack), 0, -1, "boot");
|
||||
|
||||
osMemSize = osGetMemSize();
|
||||
cleararena();
|
||||
bootclear();
|
||||
__osInitialize_common();
|
||||
__osInitialize_autodetect();
|
||||
|
||||
|
|
Loading…
Reference in a new issue