summaryrefslogtreecommitdiff
path: root/include/kernel/data
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-03-28 21:55:33 -0500
committerDanny Holman <dholman@gymli.org>2024-03-28 21:55:33 -0500
commit3b66779d9a8325c77c6cfbf1565885f98da5378f (patch)
tree38a1359cbaa1357479a8d57b7c206b190012e783 /include/kernel/data
parentcbe2690cd5d1b290633c466ebb4df7b64b09b037 (diff)
arch: i386: kernel: implement a kmalloc function
Add a basic kmalloc implementation. This allows the kernel to allocate blocks smaller than a whole page. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'include/kernel/data')
-rw-r--r--include/kernel/data/ringbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel/data/ringbuf.h b/include/kernel/data/ringbuf.h
index 4f30874..25a7125 100644
--- a/include/kernel/data/ringbuf.h
+++ b/include/kernel/data/ringbuf.h
@@ -1,7 +1,7 @@
#ifndef KERNEL_RINGBUF_H
#define KERNEL_RINGBUF_H
-#include <kernel/mem.h>
+#include <kernel/kmalloc.h>
#include <kernel/string.h>
#include <stdint.h>