Files
banan-os/kernel/include/kernel/Memory/kmalloc.h
T
Bananymous 93e1091252 Kernel: Rewrite kmalloc
Kmalloc is now a bitmap allocator with dynamic resizing and we dont need
to allocate 64 MiB static block of memory reserved for kmalloc :^)
2026-05-04 20:26:02 +03:00

9 lines
105 B
C

#pragma once
#include <stddef.h>
void kmalloc_initialize();
void* kmalloc(size_t);
void kfree(void*);