mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Kernel: Rename idt_init() to initialize_interrupts()
Also move the function out of the x86/Interrupts.h file into the generic Interrupts.h file and add a stub for aarch64.
This commit is contained in:
parent
02b94c6f0e
commit
cbe1717181
5 changed files with 9 additions and 4 deletions
|
@ -615,7 +615,7 @@ UNMAP_AFTER_INIT void flush_idt()
|
|||
asm("lidt %0" ::"m"(s_idtr));
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void idt_init()
|
||||
UNMAP_AFTER_INIT void initialize_interrupts()
|
||||
{
|
||||
s_idtr.address = s_idt;
|
||||
s_idtr.limit = 256 * sizeof(IDTEntry) - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue