This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Physical Memory Manager (PMM) Frame Allocator by Z903 | |
* | |
* This allocator manages physical memory frames in both 4KiB and 2MiB sizes using a two-layer | |
* hierarchical bitmap structure. It's optimized for efficient allocation and deallocation | |
* through two single-linked lists - one for 4KiB frames and one for 2MiB frames. The allocator | |
* can manage up to 64 GiB of physical memory. | |
* | |
* Public Functions: | |
* - void pmm_allocator_init(t_multiboot_info* mboot_info, t_u8 reserved_memory): |