mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Kernel: Fix GenericInterruptHandler problems with virtual functions
Because registering and unregistering interrupt handlers triggers calls to virtual functions, we can't do this in the constructor and destructor. Fixes #5539
This commit is contained in:
parent
183ebaee91
commit
32d9534c67
11 changed files with 112 additions and 39 deletions
|
@ -51,6 +51,7 @@ public:
|
|||
virtual bool is_capable_of_frequency(size_t frequency) const override;
|
||||
virtual size_t calculate_nearest_possible_frequency(size_t frequency) const override;
|
||||
|
||||
void will_be_destroyed() { HardwareTimer<GenericInterruptHandler>::will_be_destroyed(); }
|
||||
void enable_local_timer();
|
||||
void disable_local_timer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue