feat(userspace): log server sole console holder; init boots from manifest; adapter loads only init+storage

This commit is contained in:
2026-10-27 15:40:19 +01:00
parent 4049ba5007
commit a4f467f45d
21 changed files with 510 additions and 325 deletions

View File

@@ -8,7 +8,14 @@ pub mod server;
mod tests;
pub fn run() -> ! {
let mut srv = server::LogServer::new();
let console = libkos::start::console();
let mut srv = server::LogServer::with_output(|bytes: &[u8]| {
if let Some(console) = console {
for &b in bytes {
libkos::syscall::debug_putchar(console, b);
}
}
});
let ep = types::bounded::CapSlot::new(0).unwrap();
server_framework::serve(&mut srv, ep)
}