Skip to content

Migrate to bitmap-based physical memory management#6

Merged
ryuukumar merged 15 commits intomainfrom
memory/bitmap
Mar 15, 2026
Merged

Migrate to bitmap-based physical memory management#6
ryuukumar merged 15 commits intomainfrom
memory/bitmap

Conversation

@ryuukumar
Copy link
Owner

@ryuukumar ryuukumar commented Mar 15, 2026

This pull request brings several key improvements to the kernel's memory management subsystem:

  • New Bitmap Physical Allocator: Implemented a bitmap-based physical memory allocator (alloc_ppage/alloc_ppages) to efficiently track and manage usable frames based on the bootloader's memory map.
  • Deprecation of Old Memory Map Structure: Removed the reliance on the older, static memory map representations in favor of directly integrating with the Limine memory map structure (limine_memmap_response).
  • Dynamic Allocation for Page Tables: Switched from statically defined initial page table structures to dynamically allocating physical frames for the initial PDPT, PD, and PT structures in init_memmgt.

@ryuukumar ryuukumar merged commit f9944f5 into main Mar 15, 2026
1 check passed
@ryuukumar ryuukumar deleted the memory/bitmap branch March 15, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant