mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
@@ -285,7 +285,7 @@ The implementation looks like this:
|
||||
static HELLO: &[u8] = b"Hello World!";
|
||||
|
||||
#[no_mangle]
|
||||
pub fn _start(boot_info: &'static mut BootInfo) -> ! {
|
||||
pub fn _start() -> ! {
|
||||
let vga_buffer = 0xb8000 as *const u8 as *mut u8;
|
||||
|
||||
for (i, &byte) in HELLO.iter().enumerate() {
|
||||
|
||||
Reference in New Issue
Block a user