From 683b79fa073ffade67e186f7c16674c5f6569c0f Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 13 Mar 2016 18:41:32 -0400 Subject: [PATCH] Make PIC::endOfInterrupt const --- src/PIC.cc | 1 + src/PIC.hh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PIC.cc b/src/PIC.cc index 474fb59..448e497 100644 --- a/src/PIC.cc +++ b/src/PIC.cc @@ -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 diff --git a/src/PIC.hh b/src/PIC.hh index 44fc845..0168904 100644 --- a/src/PIC.hh +++ b/src/PIC.hh @@ -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