diff options
| author | fig02 <fig02srl@gmail.com> | 2025-04-05 19:16:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-05 19:16:52 -0400 |
| commit | 5133db15a3d3f554e7936a600ff358a6aa38540a (patch) | |
| tree | b94d427b1ae5dff84d73812ad02c984b763564d8 /src/boot | |
| parent | 1beeff96583e30f6a61960446a97b3583ff2ac73 (diff) | |
Remove functions.h (#2501)
* split most of functions.h
* osdriverominit
* forgot include
* fix
* remove functions.h
* temporary fix for fix_bss
* fix bss
* revert fix_bss.py change
Diffstat (limited to 'src/boot')
| -rw-r--r-- | src/boot/boot_main.c | 2 | ||||
| -rw-r--r-- | src/boot/idle.c | 1 | ||||
| -rw-r--r-- | src/boot/inflate.c | 2 | ||||
| -rw-r--r-- | src/boot/is_debug.c | 3 | ||||
| -rw-r--r-- | src/boot/z_std_dma.c | 10 |
5 files changed, 15 insertions, 3 deletions
diff --git a/src/boot/boot_main.c b/src/boot/boot_main.c index 75c1b9cf8..689d4f031 100644 --- a/src/boot/boot_main.c +++ b/src/boot/boot_main.c @@ -1,4 +1,6 @@ #include "boot.h" +#include "idle.h" +#include "is_debug.h" #include "stack.h" #include "stackcheck.h" #if PLATFORM_N64 diff --git a/src/boot/idle.c b/src/boot/idle.c index e24ab4ede..c56489137 100644 --- a/src/boot/idle.c +++ b/src/boot/idle.c @@ -1,4 +1,5 @@ #include "buffers.h" +#include "idle.h" #include "main.h" #include "segment_symbols.h" #include "stack.h" diff --git a/src/boot/inflate.c b/src/boot/inflate.c index c0467dd38..391ce0368 100644 --- a/src/boot/inflate.c +++ b/src/boot/inflate.c @@ -95,6 +95,8 @@ the two sets of lengths. */ +#include "inflate.h" + #include "ultra64/ultratypes.h" #include "libc/stddef.h" #include "libc/stdint.h" diff --git a/src/boot/is_debug.c b/src/boot/is_debug.c index 912b75984..d520b262b 100644 --- a/src/boot/is_debug.c +++ b/src/boot/is_debug.c @@ -1,5 +1,6 @@ +#include "is_debug.h" + #include "global.h" -#include "attributes.h" typedef struct ISVDbg { /* 0x00 */ u32 magic; // "IS64" diff --git a/src/boot/z_std_dma.c b/src/boot/z_std_dma.c index e8581b6a5..9f5901b73 100644 --- a/src/boot/z_std_dma.c +++ b/src/boot/z_std_dma.c @@ -23,6 +23,9 @@ #include "libu64/debug.h" #include "attributes.h" #include "fault.h" +#if PLATFORM_IQUE +#include "inflate.h" +#endif #include "line_numbers.h" #if PLATFORM_N64 #include "n64dd.h" @@ -31,12 +34,15 @@ #include "stack.h" #include "stackcheck.h" #include "terminal.h" +#if !PLATFORM_IQUE +#include "yaz0.h" +#endif #include "z64thread.h" #include "global.h" -#pragma increment_block_number "gc-eu:0 gc-eu-mq:0 gc-jp:0 gc-jp-ce:0 gc-jp-mq:0 gc-us:0 gc-us-mq:0 ntsc-1.2:20" \ - "pal-1.0:18 pal-1.1:18" +#pragma increment_block_number "gc-eu:0 gc-eu-mq:0 gc-jp:0 gc-jp-ce:0 gc-jp-mq:0 gc-us:0 gc-us-mq:0 ntsc-1.2:14" \ + "pal-1.0:12 pal-1.1:12" StackEntry sDmaMgrStackInfo; OSMesgQueue sDmaMgrMsgQueue; |
