11 lines
434 B
Markdown
11 lines
434 B
Markdown
|
---
|
||
|
title: "memory_map.h"
|
||
|
summary: "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.
|
||
|
|