created stdio module, added hardware script
This commit is contained in:
+5
-2
@@ -61,8 +61,11 @@ pub fn boot() -> Result<(), &'static str> {
|
||||
let memory_map = memmap::get_memory_map();
|
||||
|
||||
print_log!(" Initialising Serial... ");
|
||||
libk::drivers::io::serial::init()?;
|
||||
println_log!("[Success]");
|
||||
if libk::drivers::io::serial::init().is_err() {
|
||||
println_log!("[Not Detected]")
|
||||
} else {
|
||||
println_log!("[Success]");
|
||||
}
|
||||
|
||||
print_log!(" Setting Up Global Descriptor Table... ");
|
||||
gdt::init();
|
||||
|
||||
Reference in New Issue
Block a user