mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 06:37:52 +00:00
Kernel: Use a const reference to RegisterState in IRQ handling
This commit is contained in:
@@ -44,7 +44,7 @@ class GenericInterruptHandler {
|
||||
public:
|
||||
static GenericInterruptHandler& from(u8 interrupt_number);
|
||||
virtual ~GenericInterruptHandler();
|
||||
virtual void handle_interrupt(RegisterState& regs) = 0;
|
||||
virtual void handle_interrupt(const RegisterState& regs) = 0;
|
||||
|
||||
u8 interrupt_number() const { return m_interrupt_number; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user