Internal structures and definitions used by the PMM.
More...
No module outside of the PMM should access these.
◆ pmm_initialize_pages()
| static bool pmm_initialize_pages |
( |
struct multiboot_info * |
mbt | ) |
|
|
static |
Using the bootloader's information, we mark unusable pageframes as being unavailable. The kernel's code is also marked as unavailable, since this distinction is not made by the bootloader.
Finally, we initialize the allocator structs, locating their first respective available address.
- Parameters
-
| mbt | The information passed on by the bootloader |
- Returns
- Whether the initialization process succeeded
◆ pmm_pageframes
The array of all existing pageframes.
- Note
- The arrays's size is hardcoded to be able to fit each and every pageframes (even though only part of them will be available at runtime).