diff options
author | Linus Groh <mail@linusgroh.de> | 2021-04-18 10:30:03 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-18 10:30:03 +0200 |
commit | 2b0c361d04b519b20bfb70a34c07de579a93fafd (patch) | |
tree | f2a4d12d02801fe5bd0abf1ac2c068b540d75a45 /Kernel/Arch | |
parent | cebd3f740b6fd2fd0da30ed92310a968cf6df44a (diff) | |
download | serenity-2b0c361d04b519b20bfb70a34c07de579a93fafd.zip |
Everywhere: Fix a bunch of typos
Diffstat (limited to 'Kernel/Arch')
-rw-r--r-- | Kernel/Arch/i386/CPU.cpp | 6 | ||||
-rw-r--r-- | Kernel/Arch/x86_64/Boot/boot.S | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Arch/i386/CPU.cpp b/Kernel/Arch/i386/CPU.cpp index 4a3dba9529..7217caba51 100644 --- a/Kernel/Arch/i386/CPU.cpp +++ b/Kernel/Arch/i386/CPU.cpp @@ -498,8 +498,8 @@ void unregister_generic_interrupt_handler(u8 interrupt_number, GenericInterruptH UNMAP_AFTER_INIT void register_interrupt_handler(u8 index, void (*handler)()) { // FIXME: Why is that with selector 8? - // FIXME: Is the Gate Type really required to be an Interupt - // FIXME: Whats up with that storage segment 0? + // FIXME: Is the Gate Type really required to be an Interrupt + // FIXME: What's up with that storage segment 0? s_idt[index] = IDTEntry((FlatPtr)handler, 8, IDTEntryType::InterruptGate32, 0, 0); } @@ -507,7 +507,7 @@ UNMAP_AFTER_INIT void register_user_callable_interrupt_handler(u8 index, void (* { // FIXME: Why is that with selector 8? // FIXME: Is the Gate Type really required to be a Trap - // FIXME: Whats up with that storage segment 0? + // FIXME: What's up with that storage segment 0? s_idt[index] = IDTEntry((FlatPtr)handler, 8, IDTEntryType::TrapGate32, 0, 3); } diff --git a/Kernel/Arch/x86_64/Boot/boot.S b/Kernel/Arch/x86_64/Boot/boot.S index c9a64e0e85..8e1d9d27ba 100644 --- a/Kernel/Arch/x86_64/Boot/boot.S +++ b/Kernel/Arch/x86_64/Boot/boot.S @@ -222,7 +222,7 @@ start: movl %cr0, %eax orl $0x80000000, %eax movl %eax, %cr0 - /* Now we are in 32-bit compatablity mode, We still need to load a 64-bit GDT */ + /* Now we are in 32-bit compatibility mode, We still need to load a 64-bit GDT */ /* set up stack */ mov $stack_top, %esp |