1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

Revert "Kernel: Replace IRQHandler with the new InterruptHandler class"

This reverts commit 6c72736b26.

I am unable to boot on my home machine with this change in the tree.
This commit is contained in:
Andreas Kling 2020-01-22 22:23:50 +01:00
parent 8e21e31b3a
commit e64c335e5a
29 changed files with 169 additions and 193 deletions

View file

@ -240,7 +240,7 @@ public:
u64 raw[4];
};
class SharedInterruptHandler;
class IRQHandler;
struct RegisterDump;
void gdt_init();
@ -248,9 +248,8 @@ void idt_init();
void sse_init();
void register_interrupt_handler(u8 number, void (*f)());
void register_user_callable_interrupt_handler(u8 number, void (*f)());
void register_shared_interrupt_handler(u8 number, SharedInterruptHandler&);
SharedInterruptHandler& get_interrupt_handler(u8 number);
void unregister_shared_interrupt_handler(u8 number, SharedInterruptHandler&);
void register_irq_handler(u8 number, IRQHandler&);
void unregister_irq_handler(u8 number, IRQHandler&);
void flush_idt();
void flush_gdt();
void load_task_register(u16 selector);