mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
Kernel: Fix the limit for the IDT table
This commit is contained in:
parent
d4c0d28035
commit
732dc72c58
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ UNMAP_AFTER_INIT void flush_idt()
|
|||
UNMAP_AFTER_INIT void idt_init()
|
||||
{
|
||||
s_idtr.address = s_idt;
|
||||
s_idtr.limit = 256 * 8 - 1;
|
||||
s_idtr.limit = 256 * sizeof(IDTEntry) - 1;
|
||||
|
||||
register_interrupt_handler(0x00, divide_error_asm_entry);
|
||||
register_user_callable_interrupt_handler(0x01, debug_asm_entry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue