434 B
434 B
title | summary |
---|---|
memory_map.h | functions to parse the memory map provided by the bootloader |
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. The total amount of memory is returned in bytes.