All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] Why is __adeos_irq_regs only updated when a timer IRQ is caught?
@ 2005-12-12  8:05 张 静
  2005-12-12  9:11 ` Heikki Lindholm
  0 siblings, 1 reply; 3+ messages in thread
From: 张 静 @ 2005-12-12  8:05 UTC (permalink / raw)
  To: adeos-main

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!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-12 12:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-12  8:05 [Adeos-main] Why is __adeos_irq_regs only updated when a timer IRQ is caught? 张 静
2005-12-12  9:11 ` Heikki Lindholm
2005-12-12 12:27   ` [Adeos-main] Why is __adeos_irq_regs only updated when a timerIRQ " Zhang Jing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.