On Tue, May 20, 2008 at 2:53 PM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > In message <[EMAIL PROTECTED]> you wrote: >> >> as i have mentioned, u-boot do not handle any interrupt, and neither > > In this general form, the statement is wrong. > > Depending on architecture, U-Boot does implement and use interrupts. > It even exports an interface to standalone applications which allows > to register custom interrupt handlers.
So if someone enable a interrupt and handled it properly then at the time of interrupt handler will be called, but how then control reaches back to u-boot original task that was running prior to interrupt delivery? I mean who is taking care of context switch at the time of interrupts? > > It's just just most U-Boot drivers do not use interrupts but polling > mode - note that there are exceptions from this rule, too. > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] > A modem is a baudy house. > ------------------------------------------------------------------------- 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