예제 #1
0
void CommonHandler(registers_t regs)
{
	// Because I use the interrupt handler for the same as the
	// IRQ handler, we have to handle it here in C.
	if (!regs.is_irq)
		ISRHandler(regs);
	else
		IRQHandler(regs);
}
예제 #2
0
파일: interrupts.c 프로젝트: xorllc/Kernel
void CommonHandler(registers_t regs)
{
// 	printf("Received interrupt: 0x%X (%d)\n", regs.int_no, regs.int_no);
	// Because I use the interrupt handler for the same as the
	// IRQ handler, we have to handle it here in C.
	if (!regs.is_irq)
		ISRHandler(regs);
	else
		IRQHandler(regs);
}