Make PIC::endOfInterrupt const

This commit is contained in:
Eryn Wells 2016-03-13 18:41:32 -04:00
parent 4e715c10af
commit 683b79fa07
2 changed files with 2 additions and 1 deletions

View file

@ -90,6 +90,7 @@ PIC::remap(uint8_t pic1Offset,
void
PIC::endOfInterrupt(uint8_t irq)
const
{
/*
* Notifying the PICs that an interrupt has been completed uses OCW2 on the

View file

@ -56,7 +56,7 @@ struct PIC
* interrupt has been handled. This _must_ be done after the kernel has
* handled a hardware interrupt.
*/
void endOfInterrupt(uint8_t irq);
void endOfInterrupt(uint8_t irq) const;
/**
* Enable or disable the given IRQ. This is done by setting a mask bit in