Setting up exceptions made easy (??)
Posted: Mon Jul 27, 2020 6:30 am
I've been trying to follow through the setting of interrupts. It seems quite complicated from the examples I've seen.
Seeings as we know where the interrupt table is, why don't we just set the relevant location? E.g.
I figure I must be missing something.
Seeings as we know where the interrupt table is, why don't we just set the relevant location? E.g.
Code: Select all
void my_swi_routine()
{
....
}
void kernel_main()
{
*0x8 = my_swi_routine;
...
}