X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/05b7549a0f980efa33265a091a5174a78851ce05..a0655e5d30f3cdc73b1aaaa4825d8fae9f92ce4a:/lunaix-os/kernel/mm/kalloc.c diff --git a/lunaix-os/kernel/mm/kalloc.c b/lunaix-os/kernel/mm/kalloc.c index 6f04e2e..16c1d82 100644 --- a/lunaix-os/kernel/mm/kalloc.c +++ b/lunaix-os/kernel/mm/kalloc.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include @@ -23,7 +23,8 @@ extern uint8_t __kernel_heap_start; -heap_context_t __kalloc_kheap; +// FIXME: This should go to PCB once we're started to support multitasking +static heap_context_t __kalloc_kheap; void* lx_malloc_internal(heap_context_t* heap, size_t size);