summaryrefslogtreecommitdiff
path: root/kernel/gdt.c
diff options
context:
space:
mode:
authordzwdz2021-06-25 16:27:19 +0200
committerdzwdz2021-06-25 16:27:19 +0200
commit654ca8603381ffa385350242cfb96906cf612279 (patch)
tree9fc9b3ff19932c0061efe96c84ba780a6d5b9e0f /kernel/gdt.c
parentf60d40f3bf4dfe8ed6f63a27367d323319a4ef97 (diff)
tty_const
Diffstat (limited to 'kernel/gdt.c')
-rw-r--r--kernel/gdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/gdt.c b/kernel/gdt.c
index 8a29032..eaf81ba 100644
--- a/kernel/gdt.c
+++ b/kernel/gdt.c
@@ -106,10 +106,10 @@ static void gdt_load() {
}
static void gdt_check() {
- tty_write("checking gdt...", 15);
+ tty_const("checking gdt...");
asm("mov %0, %%ds;"
: : "r" (SEG_r0data << 3) : "memory");
- tty_write("ok", 2);
+ tty_const("ok ");
}
void gdt_init() {