diff options
-rw-r--r-- | Kernel/Arch/x86/DescriptorTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Arch/x86/DescriptorTable.h b/Kernel/Arch/x86/DescriptorTable.h index 2cfdff8301..b54da8070e 100644 --- a/Kernel/Arch/x86/DescriptorTable.h +++ b/Kernel/Arch/x86/DescriptorTable.h @@ -132,14 +132,14 @@ struct [[gnu::packed]] IDTEntry #endif IDTEntry() = default; - IDTEntry(FlatPtr callback, u16 selector_, IDTEntryType type, u8 storage_segment, u8 privilige_level) + IDTEntry(FlatPtr callback, u16 selector_, IDTEntryType type, u8 storage_segment, u8 privilege_level) : offset_1 { (u16)((FlatPtr)callback & 0xFFFF) } , selector { selector_ } , zero { 0 } , type_attr { .gate_type = (u8)type, .storage_segment = storage_segment, - .descriptor_privilege_level = (u8)(privilige_level & 0b11), + .descriptor_privilege_level = (u8)(privilege_level & 0b11), .present = 1, } , offset_2 { (u16)((FlatPtr)callback >> 16) } |