Make PIC::endOfInterrupt const
This commit is contained in:
parent
4e715c10af
commit
683b79fa07
2 changed files with 2 additions and 1 deletions
|
@ -90,6 +90,7 @@ PIC::remap(uint8_t pic1Offset,
|
||||||
|
|
||||||
void
|
void
|
||||||
PIC::endOfInterrupt(uint8_t irq)
|
PIC::endOfInterrupt(uint8_t irq)
|
||||||
|
const
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Notifying the PICs that an interrupt has been completed uses OCW2 on the
|
* Notifying the PICs that an interrupt has been completed uses OCW2 on the
|
||||||
|
|
|
@ -56,7 +56,7 @@ struct PIC
|
||||||
* interrupt has been handled. This _must_ be done after the kernel has
|
* interrupt has been handled. This _must_ be done after the kernel has
|
||||||
* handled a hardware interrupt.
|
* 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
|
* Enable or disable the given IRQ. This is done by setting a mask bit in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue