Format OSDK documentation

This commit is contained in:
Jianfeng Jiang
2024-03-01 03:23:47 +00:00
committed by Tate, Hongliang Tian
parent 7fef686136
commit a51b3c7076
18 changed files with 397 additions and 162 deletions

View File

@ -46,7 +46,8 @@ pub fn panic_handler(info: &core::panic::PanicInfo) -> ! {
abort();
}
fn abort() -> ! {
// Aborts the QEMU
pub fn abort() -> ! {
exit_qemu(QemuExitCode::Failed);
}

View File

@ -11,5 +11,6 @@ pub use aster_main::aster_main;
pub use crate::{
early_print as print, early_println as println,
panicking::abort,
vm::{Paddr, Vaddr},
};