add heap alloc function

Physically contiguous memory
This commit is contained in:
2024-12-12 14:06:06 +09:00
parent a9a1ad666d
commit e74cf22714
5 changed files with 82 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ PROG = boot
SRCS = srt0.S gdt.S boot.c
OBJS = srt0.o gdt.o boot.o
ESRCS = pccon.c sricon.c print.c fmt.c a20.c time.c mem.c cpu.c
ESRCS = pccon.c sricon.c print.c fmt.c a20.c time.c mem.c cpu.c alloc.c
OBJS += $(ESRCS:.c=.o)
include $(SDIR)/Makefile.inc