irq.hpp 169 B

1234567891011
  1. #pragma once
  2. #include <functional>
  3. namespace kernel::irq {
  4. using irq_handler_t = std::function<void()>;
  5. void register_handler(int irqno, irq_handler_t handler);
  6. };