- heap allocator now makes sure virtual memory pages are mapped before using them. this means we no longer have to use page faults to allocate frames, it is done automatically.

- fixed the apic code that caused a page fault. it now writes the correct values at the correct physical address
- improved startup logging including displaying how much RAM is installed.
This commit is contained in:
2025-03-05 20:49:21 +00:00
parent 8704b5d249
commit ef70bcf51e
9 changed files with 176 additions and 79 deletions
+2 -8
View File
@@ -15,14 +15,8 @@ extern "C" fn kmain() -> ! {
panic!("{}", err);
}
println_log!("[ Kernel Initialised Successfully ] ");
let dimensions = screensize_chars();
let dimensions2 = screensize_px();
println!("Dimensions: {}x{} (px)", dimensions2.0, dimensions2.1);
println!("Dimensions: {}x{} (chars)", dimensions.0, dimensions.1);
println_log!(" [ Kernel Initialised Successfully ] ");
// println!("TESTING :: Allocation");
// let somevec = vec![0; 1_000_000];
// println!("{:?}", somevec);