summaryrefslogtreecommitdiff
path: root/kernel/gdt.c
diff options
context:
space:
mode:
authordzwdz2021-07-09 19:25:03 +0200
committerdzwdz2021-07-09 19:25:03 +0200
commitde65e2a8c4bc73f0d6b843a0edc9fefe7bc4b025 (patch)
tree6c3a21d1a850108c7f0c07816abe5925a8360e74 /kernel/gdt.c
parent9566dac198f685ef947d82facee0be182a77495e (diff)
Add more debug prints; move the old ones around
Diffstat (limited to 'kernel/gdt.c')
-rw-r--r--kernel/gdt.c3
1 files changed, 0 insertions, 3 deletions
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 <kernel/gdt.h>
-#include <kernel/tty.h>
#include <kernel/util.h>
#include <stdint.h>
@@ -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() {