multiple fixes and cleanup

This commit is contained in:
Alex Zenla
2024-01-14 16:00:44 -08:00
parent a9275c4bdf
commit c9f39699dc
4 changed files with 81 additions and 28 deletions

View File

@ -38,7 +38,7 @@ fn boot(
let image_loader = ElfImageLoader::load_file_kernel(kernel_image_path)?;
let memctl = MemoryControl::new(call);
let mut boot = BootSetup::new(call, domctl, &memctl, domid);
let mut state = boot.initialize(&image_loader, 512 * 1024)?;
let mut state = boot.initialize(&image_loader, 128 * 1024)?;
boot.boot(&mut state, "debug")?;
Ok(())
}