16 lines
680 B
Markdown
16 lines
680 B
Markdown
# include/starkernel/freestanding/
|
|
|
|
Minimal libc-shim headers so shared VM code (`src/vm.c`, `src/word_source/`,
|
|
etc.) can be compiled into the freestanding kernel build, which has no real
|
|
libc.
|
|
|
|
- `assert.h`, `ctype.h`, `errno.h`, `inttypes.h`, `math.h`, `sched.h`,
|
|
`signal.h`, `stdio.h`, `stdlib.h`, `string.h`, `time.h` — narrow,
|
|
kernel-appropriate substitutes for the corresponding standard headers,
|
|
implementing only what the shared VM code actually calls.
|
|
- `sys/` — `sys/time.h`, `sys/types.h` shims.
|
|
|
|
These are intentionally minimal, not general-purpose libc replacements —
|
|
extend only when a specific shared-code call site needs a symbol that
|
|
isn't here yet.
|