diff options
Diffstat (limited to 'arch/x86_64/include')
| -rw-r--r-- | arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/idt_flags.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/idt_flags.hpp b/arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/idt_flags.hpp index 4e8b32c..948f478 100644 --- a/arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/idt_flags.hpp +++ b/arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/idt_flags.hpp @@ -18,8 +18,8 @@ namespace teachos::arch::context_switching::interrupt_descriptor_table */ enum bitset : uint8_t { - INTERRUPT_GATE = 0b1110, ///< The actual type of gate segment is a interrupt gate. - TRAP_GATE = 0b1111, ///< The actual type of gate segment is a trap gate. + INTERRUPT_GATE = 0b01110, ///< The actual type of gate segment is a interrupt gate. + TRAP_GATE = 0b01111, ///< The actual type of gate segment is a trap gate. DESCRIPTOR_LEVEL_KERNEL = 0U << 5U, ///< Highest privileged level used by the kernel to allow for full access of resources. DESCRIPTOR_LEVEL_ADMIN = |
