feat: create libkos crate with core modules (syscall, alloc, rt)

This commit is contained in:
2026-10-19 00:53:31 +02:00
parent 2792387348
commit dbec3842fa
9 changed files with 412 additions and 0 deletions

12
crates/libkos/src/lib.rs Normal file
View File

@@ -0,0 +1,12 @@
#![no_std]
extern crate alloc;
mod arch;
pub mod syscall;
pub mod alloc_impl;
mod rt;
#[cfg(target_os = "none")]
#[global_allocator]
static ALLOCATOR: alloc_impl::KosAllocator = alloc_impl::KosAllocator::new();