From 24934406d5d39e013e22a9e6f4138c4169460d71 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 25 Jul 2024 20:15:40 +0200 Subject: kernel: set up the GDT in assembly This is just for simplicity's sake. I think I could even omit the `movw $TSS, (GdtTss + 2)` and have the linker fill that out as a relocation, but that would probably be more complex overall. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index a00deff..3b62367 100755 --- a/configure +++ b/configure @@ -174,4 +174,4 @@ cc("libk/%.s", "$(CFLAGS_KERNEL)", "out/sysrootk/usr/include/") cc("libk/%.S", "$(CFLAGS_KERNEL)", "out/sysrootk/usr/include/") cc("kernel/arch/amd64/32/%.c", "$(CFLAGS_KERNEL) -fno-pic -m32", "out/sysrootk/usr/include/") -cc("kernel/arch/amd64/32/%.s", "$(CFLAGS_KERNEL) -fno-pic -m32", "out/sysrootk/usr/include/") +cc("kernel/arch/amd64/32/%.S", "$(CFLAGS_KERNEL) -fno-pic -m32", "out/sysrootk/usr/include/") -- cgit v1.2.3