blob: 81ce15bb6a67692ea424a2c77cb1af0da4f3c189 [file] [log] [blame]
swissChilie4f01992021-02-25 15:38:12 -08001#pragma once
2
3#include "kint.h"
4
5void *_kmalloc(size_t size, bool align, void **phys);
6void *kmalloc(size_t size);
7void *kmalloc_a(size_t size);
8void *kmalloc_ap(size_t size, void **p);
9
10void *malloc(size_t size);
11void free(void *mem);
swissChili6575dd72021-02-28 11:31:28 -080012void *realloc(void *mem, size_t size);
swissChilie4f01992021-02-25 15:38:12 -080013
14void init_allocator();
swissChili6c0519e2021-03-07 19:40:23 -080015
16void test_allocator();