mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 11:55:07 +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
|
@ -348,7 +348,7 @@ bool FloppyDiskDevice::wait_for_irq()
|
|||
return true;
|
||||
}
|
||||
|
||||
void FloppyDiskDevice::handle_irq(RegisterState&)
|
||||
void FloppyDiskDevice::handle_irq(const RegisterState&)
|
||||
{
|
||||
// The only thing we need to do is acknowledge the IRQ happened
|
||||
m_interrupted = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue