pub mod framebuffer; pub mod gdt; pub mod interrupts; pub mod qemu; bootloader_api::entry_point!(_start); fn _start(boot_info: &'static mut bootloader_api::BootInfo) -> ! { gdt::init(); interrupts::init(); if let Some(framebuffer) = boot_info.framebuffer.as_mut() { framebuffer::draw_test(framebuffer); } // not working on this anymore for now // main(null_mut()); loop {} } pub fn hlt_loop() -> ! { loop { x86_64::instructions::hlt(); } }