From 08eaddb0ed72718a57d1f452983f015d35738f68 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Sun, 12 Feb 2023 17:45:12 +0100 Subject: [PATCH] docs: documented the heap init change --- .wiki/Kernel-documentation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.wiki/Kernel-documentation.md b/.wiki/Kernel-documentation.md index ebde07e..f277845 100644 --- a/.wiki/Kernel-documentation.md +++ b/.wiki/Kernel-documentation.md @@ -251,8 +251,8 @@ It lies in memory, directly before the accessible buffer of the segment. This struct describes a heap. The area between **_start_** and **_end_** is filled with heap segments. -#### `heap_create(base)` - function (void) -Creates a heap starting at **_base_** (virtual address). +#### `heap_init(heap*, base)` - function (void) +Initializes **_heap_** at **_base_** (virtual address). It will automatically map some page frames to that address. #### `heap_memory_allocate(heap*, size)` - function (void)