Re: [U-Boot-Users] question about interrupt

2008-05-20 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> 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,

Re: [U-Boot-Users] question about interrupt

2008-05-20 Thread Chetan Nanda
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

Re: [U-Boot-Users] question about interrupt

2008-05-20 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > No, the U-Boot process scheduler or realtime kernel also doesn't use > interrupts because the is no kernel. Everything is based on a main loop. Actually U-Boot has neither a concept of processes or tasks or scheduling or whatever. U-Boot is str

Re: [U-Boot-Users] question about interrupt

2008-05-20 Thread Wolfgang Denk
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 all

Re: [U-Boot-Users] question about interrupt

2008-05-20 Thread Andreas Schweigstill
Hello! loody schrieb: > As far as I know, the cpu will set the PC to irq/fiq vector when the > these exceptions are triggered. And these pointers are usually at the > beginning position of bootloader, if bootloader wants to pass these > functions to kernel, there may be some instructions like "b x

Re: [U-Boot-Users] question about interrupt

2008-05-20 Thread Chetan Nanda
On Tue, May 20, 2008 at 11:23 AM, loody <[EMAIL PROTECTED]> wrote: > hi: > thanks for your kind help. > As far as I know, the cpu will set the PC to irq/fiq vector when the > these exceptions are triggered. And these pointers are usually at the > beginning position of bootloader, if bootloader want

Re: [U-Boot-Users] question about interrupt

2008-05-19 Thread loody
hi: thanks for your kind help. As far as I know, the cpu will set the PC to irq/fiq vector when the these exceptions are triggered. And these pointers are usually at the beginning position of bootloader, if bootloader wants to pass these functions to kernel, there may be some instructions like "b x

Re: [U-Boot-Users] question about interrupt

2008-05-19 Thread Chetan Nanda
On Tue, May 20, 2008 at 7:41 AM, loody <[EMAIL PROTECTED]> wrote: > Dear all: > I have trace interrupt/Fiq vector in uboot based on smdk2410. > after we save user registers, we jump to following functions I > excerpted at the end of mail. > But these 2 functions seems not really handle the irq/fiq,

[U-Boot-Users] question about interrupt

2008-05-19 Thread loody
Dear all: I have trace interrupt/Fiq vector in uboot based on smdk2410. after we save user registers, we jump to following functions I excerpted at the end of mail. But these 2 functions seems not really handle the irq/fiq, would someone please tell me where the real interrupt handler is? Is the i