From de65e2a8c4bc73f0d6b843a0edc9fefe7bc4b025 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 9 Jul 2021 19:25:03 +0200 Subject: Add more debug prints; move the old ones around --- kernel/gdt.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'kernel/gdt.c') diff --git a/kernel/gdt.c b/kernel/gdt.c index c564f5f..8646dd6 100644 --- a/kernel/gdt.c +++ b/kernel/gdt.c @@ -1,5 +1,4 @@ #include -#include #include #include @@ -108,10 +107,8 @@ static void gdt_load() { static void gdt_check() { // note: this only checks the r0data segment, // it's far from a comprehensive test - tty_const("checking gdt..."); asm("mov %0, %%ds;" : : "r" (SEG_r0data << 3) : "memory"); - tty_const("ok "); } void gdt_init() { -- cgit v1.2.3