docs: documented the heap init change

This commit is contained in:
antifallobst 2023-02-12 17:45:12 +01:00
parent 52d400d0c6
commit 08eaddb0ed
1 changed files with 2 additions and 2 deletions

View File

@ -251,8 +251,8 @@ It lies in memory, directly before the accessible buffer of the segment.
This struct describes a heap. This struct describes a heap.
The area between **_start_** and **_end_** is filled with heap segments. The area between **_start_** and **_end_** is filled with heap segments.
#### `heap_create(base)` - function (void) #### `heap_init(heap*, base)` - function (void)
Creates a heap starting at **_base_** (virtual address). Initializes **_heap_** at **_base_** (virtual address).
It will automatically map some page frames to that address. It will automatically map some page frames to that address.
#### `heap_memory_allocate(heap*, size)` - function (void) #### `heap_memory_allocate(heap*, size)` - function (void)