lindows/lcrash/mm/kmalloc.h
2024-04-22 07:58:33 -04:00

19 lines
268 B
C

#pragma once
#include <lcrash/types.h>
/**
* Initialize kernel heap, returns 0 on success
*/
int KernelHeapInitialize();
/**
* Allocate memory
*/
void* KernelHeapAlloc(u32 Size, u32 Align, u32 Flags);
/**
* Free memory
*/
void KernelHeapFree(void* Address);