Working PIT irqs, fix GDT bugs

This commit is contained in:
2025-12-09 17:14:01 +01:00
parent 9c8946de51
commit 64b14f3878
16 changed files with 382 additions and 138 deletions

View File

@@ -26,13 +26,16 @@ kernel_ldflags := -mcpu=i386 \
-ffreestanding \
-fno-builtin \
-fuse-ld=lld \
-flto \
-static \
-Wl,--build-id=none \
-Wl,--gc-sections \
-Wl,--strip-all \
$(clang_res_dir)/lib/*/libclang_rt.builtins-i386.a
ifeq ($(build),debug)
kernel_ldflags += -g
endif
ifeq ($(build),release)
kernel_ldflags += -Wl,--gc-sections \
-Wl,--strip-all \
-flto
endif