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:
Timon Kruiper 2022-05-17 11:07:02 +02:00 committed by Linus Groh
commit cbe1717181
Notes: sideshowbarker 2024-07-17 10:31:07 +09:00
5 changed files with 9 additions and 4 deletions

View file

@ -656,7 +656,7 @@ UNMAP_AFTER_INIT void Processor::initialize(u32 cpu)
#endif
if (cpu == 0)
idt_init();
initialize_interrupts();
else
flush_idt();