Page 1 of 1
Unhandled Interrupt
Posted: Wed May 28, 2008 2:35 pm
by JoeTheProgrammer
I am getting "unhandled interrupt: 0xd" when I try to change the system call interrupt number in the tutorial JamesM has written from 0x80 to 0x81. Can anyone point me in the right direction? I am using the same code, except for changing the interrupt number for the system call to 0x81 in syscall.c and syscall.h.
Thanks,
Joseph
Posted: Wed May 28, 2008 2:36 pm
by JamesM
Did you add an interrupt handler for interrupt 0x81?
Posted: Wed May 28, 2008 2:38 pm
by JoeTheProgrammer
JamesM wrote:Did you add an interrupt handler for interrupt 0x81?
I think so, is it the function called: register_interrupt_handler?
Thanks,
Joseph
Posted: Wed May 28, 2008 2:41 pm
by JamesM
No.
There's an isr you need to add in the interrupt ASM file.
Posted: Wed May 28, 2008 3:04 pm
by JoeTheProgrammer
JamesM wrote:No.
There's an isr you need to add in the interrupt ASM file.
Thanks for your help. Now it is working.
Thanks again,
Joseph