Pass address of multiboot info structure to rust_main

This commit is contained in:
Philipp Oppermann
2017-04-13 17:49:27 +02:00
parent 08a4e795a4
commit 28ce5310c8
2 changed files with 2 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ extern crate spin;
mod vga_buffer;
#[no_mangle]
pub extern fn rust_main() {
pub extern fn rust_main(multiboot_information_address: usize) {
vga_buffer::clear_screen();
println!("Hello World{}", "!");