1
0
Fork 0

feat: Added nanoprintf, kprintf and GDT

This commit is contained in:
Kevin Alavik 2025-05-14 13:57:53 +02:00
parent aa5a1e8e1a
commit 248879c099
Signed by: cmpsb
GPG key ID: 10D1CC0526FDC6D7
9 changed files with 1346 additions and 5 deletions

View file

@ -3,7 +3,6 @@ MAKEFLAGS += -rR
.SUFFIXES:
SRCDIR := src
INCDIR := src
OBJDIR := build
BINDIR := bin
@ -18,7 +17,7 @@ CFLAGS := -g -O2 -pipe -Wall -Wextra -Werror -std=gnu11 -ffreestanding \
-ffunction-sections -fdata-sections -m64 -march=x86-64 \
-mno-80387 -mno-mmx -mno-sse -mno-sse2 -mno-red-zone \
-mcmodel=kernel -Wno-unused-variable
CPPFLAGS := -I$(INCDIR) -I$(SRCDIR) -MMD -MP -DLIMINE_API_REVISION=3
CPPFLAGS := -I../external -I$(SRCDIR) -MMD -MP -DLIMINE_API_REVISION=3
NASMFLAGS := -F dwarf -g
LDFLAGS := -nostdlib -static -z max-page-size=0x1000 -Wl,--gc-sections \
-T linker.ld -Wl,-m,elf_x86_64