mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 05:25: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
|
@ -180,7 +180,7 @@ void PATAChannel::wait_for_irq()
|
|||
disable_irq();
|
||||
}
|
||||
|
||||
void PATAChannel::handle_irq(RegisterState&)
|
||||
void PATAChannel::handle_irq(const RegisterState&)
|
||||
{
|
||||
u8 status = m_io_base.offset(ATA_REG_STATUS).in<u8>();
|
||||
if (status & ATA_SR_ERR) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue