mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
Kernel: Use a const reference to RegisterState in IRQ handling
This commit is contained in:
parent
aa43314e8b
commit
e880fe0765
26 changed files with 27 additions and 27 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue