Unhandled Interrupt

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
JoeTheProgrammer
Member
Member
Posts: 48
Joined: Mon Aug 13, 2007 2:30 pm

Unhandled Interrupt

Post 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
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Did you add an interrupt handler for interrupt 0x81?
JoeTheProgrammer
Member
Member
Posts: 48
Joined: Mon Aug 13, 2007 2:30 pm

Post 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
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

No.

There's an isr you need to add in the interrupt ASM file.
JoeTheProgrammer
Member
Member
Posts: 48
Joined: Mon Aug 13, 2007 2:30 pm

Post 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
Post Reply