This commit is contained in:
Alvin-Zilverstand committed 2026-10-09 03:19:53 +02:00
1 parent 6dc841f956
commit 3d06f94e48
46 files changed
+5830 -543

No files matched your search

+6 -3
View File
@@ -4,10 +4,13 @@
#include "exec.h"
#include "paging.h"
#define BOB64_COMPILER_SOURCE_LIMIT 4096u
#define BOB64_COMPILER_IMAGE_LIMIT (BOB64_EXEC_HEADER_SIZE+2u*BOB64_PAGE_SIZE)
#define BOB64_COMPILER_SOURCE_LIMIT (4u*BOB64_PAGE_SIZE)
#define BOB64_COMPILER_CODE_CAPACITY (4u*BOB64_PAGE_SIZE)
#define BOB64_COMPILER_DATA_CAPACITY (4u*BOB64_PAGE_SIZE)
#define BOB64_COMPILER_IMAGE_LIMIT (BOB64_EXEC_HEADER_SIZE+\
BOB64_COMPILER_CODE_CAPACITY+BOB64_COMPILER_DATA_CAPACITY)
/* Compile bob64's initial resident C subset directly to a B64E application. */
/* Compile bob64's bounded resident C subset directly to a B64E application. */
int bob64_compile_c(const char *source,usize source_length,void *output,
usize output_capacity,usize *output_length,
usize *error_offset);