From 38bc2d06fff322a99ba6ba46df69bbd2b40c6173 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 26 Jan 2026 03:15:18 +0100 Subject: Streamline build and temporary build directory, copy runtime Signed-off-by: Mel --- boot/common.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'boot/common.c') diff --git a/boot/common.c b/boot/common.c index 1c65deb..125af86 100644 --- a/boot/common.c +++ b/boot/common.c @@ -10,6 +10,7 @@ #pragma once +#include #include #include #include @@ -17,6 +18,9 @@ #include #include #include +#include +#include +#include #include #define uint8 uint8_t @@ -53,7 +57,7 @@ // the array will be filled with hexadecimal values of the file contents, // with a nil byte appended at the end. // the size of the array can be retrieved through `strlen(array)`, or `ARRAY_SIZE(array)-1`. -#define CATSKILL_EMBED(...) {0} +#define CATSKILL_EMBED(...) { 0 } // ansi escape codes for terminal color and style #define ANSI(code) "\33[" code "m" @@ -188,7 +192,7 @@ log_error(const ascii* message, ...) #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) // the common size of region memory blocks. -#define REGION_SIZE 65536 +#define REGION_SIZE 1048576 // statically allocates a region of memory of a given size // for a single type. -- cgit 1.4.1