Dear all: I have trace interrupt/Fiq vector in uboot based on smdk2410. after we save user registers, we jump to following functions I excerpted at the end of mail. But these 2 functions seems not really handle the irq/fiq, would someone please tell me where the real interrupt handler is?
Is the interrupt handled in kernel? if it really is, how loader pass the vector pointer to OS? appreciate your help, miloody void do_fiq (struct pt_regs *pt_regs) { printf ("fast interrupt request\n"); show_regs (pt_regs); bad_mode (); } void do_irq (struct pt_regs *pt_regs) { #if defined (CONFIG_USE_IRQ) && defined (CONFIG_ARCH_INTEGRATOR) /* ASSUMED to be a timer interrupt */ /* Just clear it - count handled in */ /* integratorap.c */ *(volatile ulong *)(CFG_TIMERBASE + 0x0C) = 0; #else printf ("interrupt request\n"); show_regs (pt_regs); bad_mode (); #endif } ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users