mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Kernel: Use a const reference to RegisterState in IRQ handling
This commit is contained in:
parent
aa43314e8b
commit
e880fe0765
Notes:
sideshowbarker
2024-07-19 08:14:45 +09:00
Author: https://github.com/supercomputer7
Commit: e880fe0765
Pull-request: https://github.com/SerenityOS/serenity/pull/1396
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/shannonbooth ✅
26 changed files with 27 additions and 27 deletions
|
@ -39,7 +39,7 @@ class SpuriousInterruptHandler final : public GenericInterruptHandler {
|
|||
public:
|
||||
static void initialize(u8 interrupt_number);
|
||||
virtual ~SpuriousInterruptHandler();
|
||||
virtual void handle_interrupt(RegisterState& regs) override;
|
||||
virtual void handle_interrupt(const RegisterState& regs) override;
|
||||
|
||||
void register_handler(GenericInterruptHandler&);
|
||||
void unregister_handler(GenericInterruptHandler&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue