Kernel: Use a const reference to RegisterState in IRQ handling

This commit is contained in:
Liav A 2020-03-09 16:24:29 +02:00 committed by Andreas Kling
parent aa43314e8b
commit e880fe0765
Notes: sideshowbarker 2024-07-19 08:14:45 +09:00
26 changed files with 27 additions and 27 deletions

View file

@ -177,7 +177,7 @@ E1000NetworkAdapter::~E1000NetworkAdapter()
{
}
void E1000NetworkAdapter::handle_irq(RegisterState&)
void E1000NetworkAdapter::handle_irq(const RegisterState&)
{
out32(REG_IMASK, 0x1);