FINALLY PAGING AND HEAP WORK WITH REALLY BAD CODE

This commit is contained in:
Bryan McShea
2024-01-28 19:11:27 -05:00
parent 260c5c223a
commit f9e7f85a8c
15 changed files with 472 additions and 274 deletions
+3 -3
View File
@@ -1,5 +1,3 @@
use crate::main;
pub mod framebuffer;
pub mod gdt;
pub mod interrupts;
@@ -13,7 +11,9 @@ fn _start(boot_info: &'static mut bootloader_api::BootInfo) -> ! {
if let Some(framebuffer) = boot_info.framebuffer.as_mut() {
framebuffer::draw_test(framebuffer);
}
main(0);
// not working on this anymore for now
// main(null_mut());
loop {}
}
pub fn hlt_loop() -> ! {