mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
The printk(), panic() and kernel.h update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user