Hi, all,

I have no idea about why __adeos_irq_regs is only updated when a timer IRQ is caught. Does it means its value doesn't matter to other irq handlers? I'am working on version 2.4r12 for ARM.

Below is the snippet to update the __adeos_irq_regs in __adeos_handle_irq:

if (likely(irq == ADEOS_TIMER_IRQ))
{
   __adeos_irq_regs.ARM_cpsr = regs->ARM_cpsr;
   __adeos_irq_regs.ARM_pc = regs->ARM_pc;
}
Thanks!



Reply via email to