mbv: small refactor interrupts

This commit is contained in:
2025-06-24 23:02:38 -07:00
parent 6553fa04aa
commit d18d41fc02
6 changed files with 43 additions and 16 deletions

View File

@@ -2,6 +2,8 @@
#include <cstdint>
namespace intc {
using Isr = void(*)(void);
/// Returns: true if the IRQ was previously enabled
@@ -14,3 +16,5 @@ void EnableInterrupts();
// Feed this to the CPU's interrupt handler
void InterruptHandler();
} // namespace intc