#include #include "../idt.h" InterruptHandler::InterruptHandler(uint8_t irq) : m_irq(irq) { IDT::install(m_irq, this); } InterruptHandler::~InterruptHandler() { IDT::uninstall(m_irq, this); } void InterruptHandler::trigger() { printk("Unhandled interrupt ", uhex{m_irq}, '\n'); }