From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 20 May 2008 14:31:24 +0200 Subject: [U-Boot-Users] question about interrupt In-Reply-To: Your message of "Tue, 20 May 2008 15:10:13 +0530." <7f245da80805200240o7dde7b3bl83875b910d69ad08@mail.gmail.com> Message-ID: <20080520123124.62C4124312@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <7f245da80805200240o7dde7b3bl83875b910d69ad08@mail.gmail.com> you wrote: > > 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 That's just a normal return from interrupt, like you return from a normal function call. > delivery? I mean who is taking care of context switch at the time of > interrupts? There is no such thing as a context switch. 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: wd at denx.de "Anyone attempting to generate random numbers by deterministic means is, of course, living in a state of sin." - John Von Neumann