Minor GDT fixes

This commit is contained in:
Justin C. Miller
2018-05-20 01:02:50 -07:00
parent bfaab294e6
commit 814d6f1de6
3 changed files with 22 additions and 3 deletions

View File

@@ -20,6 +20,11 @@ void idt_set_entry(uint8_t i, uint64_t addr, uint16_t selector, uint8_t flags);
/// \arg rsp Stack pointer to set
void tss_set_stack(int ring, addr_t rsp);
/// Get the stack pointer for a given ring in the TSS
/// \arg ring Ring to get (0-2)
/// \returns Stack pointers for that ring
addr_t tss_get_stack(int ring);
/// Dump information about the current GDT to the screen
void gdt_dump();