summaryrefslogtreecommitdiff
path: root/Kernel/Arch
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-06-26 03:09:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-26 11:08:52 +0200
commit9077c64d3704114a364d2ba3147dbb88830b04fe (patch)
tree747b1b73d3fcc34fa5f3d65c7876d7df14b7dac3 /Kernel/Arch
parent078eeb7bb06395097c17a956d847e2bef7ea3b31 (diff)
downloadserenity-9077c64d3704114a364d2ba3147dbb88830b04fe.zip
Kernel: Correct spelling mistake
Diffstat (limited to 'Kernel/Arch')
-rw-r--r--Kernel/Arch/x86/DescriptorTable.h4
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) }