mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Load TSS
This commit is contained in:
parent
4151273dbd
commit
ce8a1f9f65
1 changed files with 4 additions and 0 deletions
|
@ -148,6 +148,10 @@ void protected_initialize(const struct KernelMQ_Info *const kinfo)
|
|||
|
||||
idt_flush(&idt_pointer);
|
||||
|
||||
logger_info("Load TSS.");
|
||||
|
||||
tss_flush();
|
||||
|
||||
logger_info("Enable interrupts.");
|
||||
|
||||
asm volatile ("sti");
|
||||
|
|
Loading…
Reference in a new issue