mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
Everywhere: Fix a bunch of typos
This commit is contained in:
parent
cebd3f740b
commit
2b0c361d04
30 changed files with 42 additions and 42 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue