feat(kernel): implement Phase 3 - PMM bitmap allocator, VMM #PF handler & dynamic kernel heap (kmalloc/kfree)

This commit is contained in:
Adam Eehan committed 2026-10-23 15:47:25 +05:30
1 parent a8486515cc
commit 7a584ea6e6
10 files changed
+489 -5

No files matched your search

+4 -4
View File
@@ -123,10 +123,10 @@ qemu-system-x86_64 -kernel bin/airlys.elf
- [x] PS/2 Hardware Keyboard driver with Scan Code Set 1 decoding
- [x] CPU hardware interrupts enabled (`sti`) with live interactive keyboard typing!
- [ ] **Phase 3: Sovereign Memory Subsystem**
- [ ] Physical Memory Manager (Bitmap Page Allocator)
- [ ] Virtual Memory Manager (Page fault handler & dynamic mapping)
- [ ] Kernel Heap (`kmalloc` / `kfree`)
- [x] **Phase 3: Sovereign Memory Subsystem**
- [x] Physical Memory Manager (Bitmap Page Allocator tracking 1GB physical RAM & 262,144 frames)
- [x] Virtual Memory Manager (Page fault `#PF` exception handler with CR2/CR3 register inspection)
- [x] Sovereign Dynamic Kernel Heap (`kmalloc`, `kfree`, `kcalloc`, `krealloc` with 32MB dynamic pool & automated memory self-test)
- [ ] **Phase 4: Preemptive Multitasking**
- [ ] Process Control Block (PCB) architecture