lib: add libc and micro libc

This commit is contained in:
2026-02-19 19:28:50 +00:00
parent 9cc60cf3f1
commit ba455059ac
22 changed files with 9868 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
.code64
.global _start
.type _start, @function
.extern main
.type main, @function
_start:
# Args (as provided by the ABI)
# %rdi: int argc
# %rsi: const char **argv
# %rdx: kern_handle_t task
# %rcx: kern_handle_t address_space
call main
1: jmp 1b