coastline 0.0.4
Loading...
Searching...
No Matches
boot.h
Go to the documentation of this file.
1#ifndef PLATFORM_N64_BOOT_H
2#define PLATFORM_N64_BOOT_H
3
9
10#include <ultra64.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
17extern u8 _bss_start[];
18
20extern u8 _bss_size[];
21
30extern u8 g_abBootStackTop[];
31
41void ramMain(void);
42
52void OsBootEntry(void);
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* PLATFORM_N64_BOOT_H */
void ramMain(void)
Clear the BSS segment, two words at a time, move the stack to the boot stack, and jump to OsBootEntry...
void OsBootEntry(void)
Initialise the operating system, then create and start the boot thread.
u8 g_abBootStackTop[]
Top of the stack ramMain() hands to OsBootEntry(), from the link script.
Umbrella header of the reconstructed libultra.
unsigned char u8
Definition ultratypes.h:18