张 静 kirjoitti: > 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.
If you look at the irq handlers you'll see that most don't use the regs parameter and there have been talks about removing it altogether from the kernel. Also, if you think about the irq replaying scheme of Adeos and how you would implement saving the regs for every (to be) replayed interrupt, maybe you'll see the point of doing only the necessary reg saving in Adeos. -- Heikki Lindholm
