This commit is contained in:
nub31
2025-09-03 14:55:45 +02:00
parent a1205703f0
commit 33239034a7
16 changed files with 310 additions and 303 deletions

View File

@@ -0,0 +1,20 @@
#include "isr.h"
#include "exceptions.h"
#include "irq.h"
#include <stdio.h>
void handle_isr(const isr_frame_t* frame)
{
if (frame->int_no < 32)
{
handle_exception(frame);
}
else if (frame->int_no < 48)
{
handle_irq(frame);
}
else
{
printf("interrupt[%d]: not implemented\n", frame->int_no);
}
}