forked from AbleOS/ableos
able sanity check
This commit is contained in:
parent
241139f5af
commit
5ea3ee9fe1
|
@ -22,12 +22,13 @@ use {
|
||||||
pub fn kmain(_cmdline: &str, boot_modules: BootModules) -> ! {
|
pub fn kmain(_cmdline: &str, boot_modules: BootModules) -> ! {
|
||||||
debug!("Entered kmain");
|
debug!("Entered kmain");
|
||||||
|
|
||||||
#[cfg(feature = "ktest")] {
|
#[cfg(feature = "ktest")]
|
||||||
|
{
|
||||||
use crate::ktest;
|
use crate::ktest;
|
||||||
debug!("TESTING");
|
debug!("TESTING");
|
||||||
ktest::test_main();
|
ktest::test_main();
|
||||||
|
|
||||||
loop {};
|
loop {}
|
||||||
}
|
}
|
||||||
|
|
||||||
// let kcmd = build_cmd("Kernel Command Line", cmdline);
|
// let kcmd = build_cmd("Kernel Command Line", cmdline);
|
||||||
|
@ -131,7 +132,7 @@ pub fn kmain(_cmdline: &str, boot_modules: BootModules) -> ! {
|
||||||
|
|
||||||
executor.run();
|
executor.run();
|
||||||
};
|
};
|
||||||
|
log::info!("Started AbleOS");
|
||||||
crate::arch::spin_loop()
|
crate::arch::spin_loop()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue