Kernel: Move Interruptable from InterruptController.h to its own file
This commit is contained in:
@@ -8,23 +8,6 @@
|
||||
namespace Kernel
|
||||
{
|
||||
|
||||
class Interruptable
|
||||
{
|
||||
public:
|
||||
void set_irq(int irq);
|
||||
void enable_interrupt();
|
||||
void disable_interrupt();
|
||||
|
||||
virtual void handle_irq() = 0;
|
||||
|
||||
protected:
|
||||
Interruptable() = default;
|
||||
~Interruptable() {}
|
||||
|
||||
private:
|
||||
int m_irq { -1 };
|
||||
};
|
||||
|
||||
class InterruptController
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user