Skip net_poll and timers unless their interrupt has fired

This commit is contained in:
Ian Gulliver
2026-04-10 22:00:34 +09:00
parent 8edf8c2d4f
commit f2d98ef4f1
4 changed files with 15 additions and 3 deletions

View File

@@ -37,6 +37,8 @@ void reset();
void init();
bool check();
extern volatile bool irq_pending;
void clear_interrupt(intr_kind intr);
void set_interrupt_mask(intr_kind intr);