interrupt issues
Posted: Thu Jul 19, 2007 2:37 am
hi all,
i have some troubles when IRQ0 happen. To handle interrupts, I've used the same routine as in Bran's kernel tutorial,
but if inside the irq0 specific routine i try to print something out on the screen, i get:
after a while bochs reset.
If i comment the call to "kprintf" inside the custom irq handling routine, i don't get the triple fault exception anymore, but after some seconds, i get "invalid opcode exception".
If any help,
many thanks, angelo
i have some troubles when IRQ0 happen. To handle interrupts, I've used the same routine as in Bran's kernel tutorial,
but if inside the irq0 specific routine i try to print something out on the screen, i get:
Code: Select all
00001106940d[CPU0 ] interrupt(): vector = 32, INT = 0, EXT = 1
00001106940d[CPU0 ] int_trap_gate286(): INTERRUPT TO SAME PRIVILEGE
00001106988e[CPU0 ] write_virtual_checks(): no write access to seg
00001106988d[CPU0 ] exception(0x0D)
00001106988d[CPU0 ] interrupt(): vector = 13, INT = 0, EXT = 1
If i comment the call to "kprintf" inside the custom irq handling routine, i don't get the triple fault exception anymore, but after some seconds, i get "invalid opcode exception".
If any help,
many thanks, angelo