Add a serial module

This commit is contained in:
Philipp Oppermann
2019-01-25 13:33:52 +01:00
parent 76110c1dd8
commit c21f051300
4 changed files with 50 additions and 0 deletions

View File

@@ -4,12 +4,14 @@
use core::panic::PanicInfo;
mod serial;
mod vga_buffer;
#[cfg(not(test))]
#[no_mangle]
pub extern "C" fn _start() -> ! {
println!("Hello World{}", "!");
serial_println!("Hello Host{}", "!");
loop {}
}