From 3b66779d9a8325c77c6cfbf1565885f98da5378f Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Thu, 28 Mar 2024 21:55:33 -0500 Subject: 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 --- arch/i386/make.config | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/i386/make.config') diff --git a/arch/i386/make.config b/arch/i386/make.config index 1ffe8be..8499f1a 100644 --- a/arch/i386/make.config +++ b/arch/i386/make.config @@ -16,3 +16,4 @@ KERNEL_ARCH_OBJS=$(ARCHDIR)/boot/boot.o \ $(ARCHDIR)/kernel/syscall.o \ $(ARCHDIR)/kernel/paging.o \ $(ARCHDIR)/kernel/pmem.o \ + $(ARCHDIR)/kernel/kmalloc.o \ -- cgit v1.2.3