feat: Added nanoprintf, kprintf and GDT
This commit is contained in:
parent
aa5a1e8e1a
commit
248879c099
9 changed files with 1346 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue