From ad77ea556e29744023bee87fe472a61fe082c846 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sat, 25 Jun 2022 13:52:41 +0300 Subject: [PATCH] Do not load TSS --- src/protected.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protected.c b/src/protected.c index 851c23d..5884fe0 100644 --- a/src/protected.c +++ b/src/protected.c @@ -74,8 +74,8 @@ void protected_initialize(const struct Kernel_Info *const kinfo) idt_pointer.base = (unsigned int)&idt_entries; kernaux_asm_i386_flush_idt((uint32_t)&idt_pointer); - kernaux_drivers_console_print("[INFO] protected: Load TSS.\n"); - kernaux_asm_i386_flush_tss(GDT_TSS_SELECTOR); + // kernaux_drivers_console_print("[INFO] protected: Load TSS.\n"); + // kernaux_asm_i386_flush_tss(GDT_TSS_SELECTOR); kernaux_drivers_console_print("[INFO] protected: Enable interrupts.\n"); asm volatile ("sti");