dev #4
+4
-8
@@ -1,7 +1,7 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
use FoundryOS::{println, println_log};
|
||||
use foundry_os::{println, println_log};
|
||||
|
||||
#[no_mangle]
|
||||
unsafe extern "C" fn kmain() -> ! {
|
||||
@@ -9,7 +9,9 @@ unsafe extern "C" fn kmain() -> ! {
|
||||
// removed by the linker.
|
||||
|
||||
println_log!(" [ Initialising ] ");
|
||||
FoundryOS::boot();
|
||||
if let Err(err) = foundry_os::boot() {
|
||||
panic!("{}", err);
|
||||
}
|
||||
|
||||
let dimensions = lib_ascii::screensize_chars();
|
||||
let dimensions2 = lib_framebuffer::screensize_px();
|
||||
@@ -38,11 +40,5 @@ unsafe extern "C" fn kmain() -> ! {
|
||||
"
|
||||
);
|
||||
|
||||
// for i in 0..100000 {
|
||||
// println!("{}", i);
|
||||
// }
|
||||
|
||||
loop {}
|
||||
|
||||
FoundryOS::hcf();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user