1
Files
interrupt-handling-using-th…/code/interrupthandler_def.cpp
2023-03-02 17:29:30 +01:00

7 lines
250 B
C++

// Excerpt from the "InterruptHandler" interface
class InterruptHandler {
public:
virtual void plugin() = 0; // Register the handler
virtual void trigger(const InterruptFrame &frame) = 0; // Handle an interrupt
};