apio 042f999677
All checks were successful
continuous-integration/drone/push Build is passing
Heap: SCRUB IT ALL
If your memory is all 0xacacacac there is a big probability you haven't initialized it.
2022-12-19 13:20:38 +01:00

10 lines
281 B
C

#pragma once
#include <luna/PlacementNew.h>
#include <luna/Result.h>
Result<void*> kmalloc(usize size, bool should_scrub = true);
Result<void*> kcalloc(usize nmemb, usize size);
Result<void*> krealloc(void* ptr, usize size);
Result<void> kfree(void* ptr);
void dump_heap_usage();