Do not load TSS

This commit is contained in:
Alex Kotov 2022-06-25 13:52:41 +03:00
parent 756a31f44e
commit ad77ea556e
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 2 additions and 2 deletions

View File

@ -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");