created stdio module, added hardware script

This commit is contained in:
2025-02-24 16:28:56 +00:00
parent 1c22f89665
commit ca1c695e32
3 changed files with 42 additions and 2 deletions
+5 -2
View File
@@ -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();