Code: Select all
...
multiboot2 /boot/kernel.bin
module /test_program.bin
boot
...
Code: Select all
let boot_info = unsafe { multiboot2::load(multiboot_ptr) };
println!("Detected {} modules", boot_info.module_tags().count());
Code: Select all
...
multiboot2 /boot/kernel.bin
module /test_program.bin
boot
...
Code: Select all
let boot_info = unsafe { multiboot2::load(multiboot_ptr) };
println!("Detected {} modules", boot_info.module_tags().count());