Commit 98bed9bc authored by Stefan Lankes's avatar Stefan Lankes

remove compiler warnings

parent 29503a20
Pipeline #213258 passed with stages
in 2 minutes and 37 seconds
......@@ -8,6 +8,8 @@
extern crate eduos_rs;
use core::panic::PanicInfo;
#[allow(unused_imports)]
use core::fmt::Write;
use eduos_rs::arch;
use eduos_rs::arch::processor::{halt, shutdown};
use eduos_rs::scheduler;
......@@ -20,7 +22,7 @@ fn user_foo() -> ! {
let str = b"Hello from user_foo!\n\0";
/*unsafe {
let _ = arch::x86_64::serial::COM1.write_str("Hello from user_foo!\n");
let _ = arch::x86_64::serial::COM1.write_str("Hello from COM1!\n");
}*/
syscall!(SYSNO_WRITE, str.as_ptr() as u64, str.len());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment