aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/include/kmalloc.h
blob: 17ea4400e73876304d5b8c1cd6606016e625bad4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <stdint.h>
#include <stddef.h>

// Kernel memory allocator : one slab allocator for shared memory
// Thread-safe.

// The normal malloc() call will try to free some memory when OOM and will loop
// a few times if it cannot. It may fail though.

void kmalloc_setup();

/* vim: set ts=4 sw=4 tw=0 noet :*/