[U-Boot-Users] Do we enable Interrupts in U-Boot?
Ben Warren
biggerbadderben at gmail.com
Tue Jan 8 16:35:13 CET 2008
Chetan Nanda wrote:
> On 1/8/08, Stefan Roese <sr at denx.de> wrote:
>
>> On Tuesday 08 January 2008, Chetan Nanda wrote:
>>
>>> In that case there must be some threads that continuously check for
>>> pending requests from UART, ETHERNET or so ..
>>>
>> Threads? U-Boot is not an full blown OS. No threads are needed in this
>> bootloader.
>>
>>
>>> But I don't find any sort of threading inside u-boot code
>>>
>> U-Boot "sits" there and waits for some input from the console, or for an
>> ethernet reply packet. This can be done using polling without any performance
>> penalty.
>>
>>
> Thanks, for explaining the things,
> But how can we wait for two events simultaneously (that is also under
> a single thread of execution)? Can you give me pointer to the code ?
>
We don't. Everything's single-threaded and poll-based.
regards,
Ben
More information about the U-Boot
mailing list