]> git.lizzy.rs Git - loadnothing.git/blobdiff - stage2/src/main.rs
Global vga::Writer
[loadnothing.git] / stage2 / src / main.rs
index 5e519f76cb7b5baf92655e1b3ea440dc228db9d1..d05e3b2c0424e7979b37fb7e693292b16c63b606 100644 (file)
@@ -14,7 +14,7 @@ fn panic(_info: &PanicInfo) -> ! {
 
 #[no_mangle]
 pub extern "C" fn _start() -> ! {
-    vga::test_print();
+    vga::WRITER.lock().write_string("Hello Stage2!");
 
     unsafe {
         loop {