diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-20 08:27:42 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-20 08:27:42 +0200 |
| commit | 3614980bbb672780bbaaef54ab8b1fa6a27d932c (patch) | |
| tree | c4e5434b04e657315d993d50eb99baa43405a005 /dev/ZBA | |
| parent | 5f4a9440e97d6602222c93e8dcab8c483800a462 (diff) | |
Patches for kernel, alongside code fixes for user after free and Heap API refactor.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZBA')
| -rw-r--r-- | dev/ZBA/BootKit/STB.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/ZBA/BootKit/STB.hxx b/dev/ZBA/BootKit/STB.hxx index b49bb847..21992e2e 100644 --- a/dev/ZBA/BootKit/STB.hxx +++ b/dev/ZBA/BootKit/STB.hxx @@ -17,9 +17,9 @@ #define STBI_ONLY_GIF 1 #define STBI_ASSERT(x) MUST_PASS(x) -#define STBI_MALLOC(x) Kernel::mm_new_ke_heap(x, true, true) -#define STBI_REALLOC(p, x) Kernel::mm_realloc_ke_heap(p, x); -#define STBI_FREE(x) Kernel::mm_delete_ke_heap(x) +#define STBI_MALLOC(x) Kernel::mm_new_heap(x, true, true) +#define STBI_REALLOC(p, x) Kernel::mm_realloc_heap(p, x); +#define STBI_FREE(x) Kernel::mm_delete_heap(x) #define STB_IMAGE_IMPLEMENTATION 1 #include <KernelKit/Heap.hxx> |
