1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 20:15:07 +00:00

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
26 changed files with 27 additions and 27 deletions

View file

@ -59,7 +59,7 @@ SpuriousInterruptHandler::~SpuriousInterruptHandler()
{
}
void SpuriousInterruptHandler::handle_interrupt(RegisterState&)
void SpuriousInterruptHandler::handle_interrupt(const RegisterState&)
{
// FIXME: Actually check if IRQ7 or IRQ15 are spurious, and if not, call the real handler to handle the IRQ.
klog() << "Spurious Interrupt, vector " << interrupt_number();