All checks were successful
continuous-integration/drone/push Build is passing
If your memory is all 0xacacacac there is a big probability you haven't initialized it.
10 lines
281 B
C
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(); |