docs: documented 'memory_map.h'

This commit is contained in:
antifallobst 2023-02-10 19:11:27 +01:00
parent 559efae1b3
commit 766e7dbaf5
1 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,13 @@ More information can be found on the limine project's [GitHub](https://github.co
## mm ## mm
### memory_map.h
#### `memory_map_get_total_memory_size(boot_info*)` - function (uint64_t)
Calculates the total amount of memory available, by iterating over the memory map.
The size is stored in a static variable, so no matter how often you call this function, the size will only be calculated once.
It returns the total amount of memory in bytes.
### page_frame.h ### page_frame.h
This header provides the functions for basic interactions with pages (in the physical memory space). This header provides the functions for basic interactions with pages (in the physical memory space).