The printk(), panic() and kernel.h update

This commit is contained in:
2026-03-26 21:07:29 +01:00
parent 2f05396651
commit 63a238d2c4
18 changed files with 366 additions and 153 deletions
+5 -1
View File
@@ -12,9 +12,10 @@ HOSTCCFLAGS = -Wall -Wextra -O2
CCFLAGS = -Wall -Wextra -m64 -ffreestanding -fcommon -Iinclude \
-mcmodel=kernel \
-fno-pie \
-fno-stack-protector \
-fno-omit-frame-pointer \
-mno-mmx \
-mno-80387 \
-fno-stack-protector \
-mno-red-zone \
-nostartfiles \
-nostdlib \
@@ -26,6 +27,9 @@ LDFLAGS = -melf_x86_64 -nostdlib -static \
-z text -z max-page-size=0x1000
ARFLAGS =
# Kernel config
CONSOLE_LOGLEVEL=7
# Disk image
IMG_NAME = disk.img
IMG_SIZE = 256 # 256MB