feat(serial): add external serial driver
continuous-integration/drone/push Build is passing

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2021-12-02 22:29:56 +01:00
1 parent be8f3f2a0f
commit 106e907438
6 files changed
+87 -11

No files matched your search

+3 -3
View File
@@ -2,6 +2,7 @@
#![no_main]
mod vga;
mod serial;
use core::panic::PanicInfo;
use vga::Color;
@@ -12,11 +13,10 @@ fn panic_handler(info: &PanicInfo) -> ! {
loop {}
}
#[no_mangle]
pub extern "C" fn julios_main() -> ! {
println!("Hello World!");
println!("{}", "***JuliOS***");
panic!("Test panic");
loop {}
serial_println!("Test serial");
panic!("Kernel end of flow");
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.