From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Do we enable Interrupts in U-Boot?
Date: Tue, 08 Jan 2008 10:35:13 -0500 [thread overview]
Message-ID: <47839831.1030107@gmail.com> (raw)
In-Reply-To: <7f245da80801080727o460b630esf14697414f76ce33@mail.gmail.com>
Chetan Nanda wrote:
> On 1/8/08, Stefan Roese <sr@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
next prev parent reply other threads:[~2008-01-08 15:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 12:11 [U-Boot-Users] Do we enable Interrupts in U-Boot? Chetan Nanda
2008-01-08 12:34 ` Stefan Roese
2008-01-08 12:52 ` Chetan Nanda
2008-01-08 13:03 ` Andreas Schweigstill
2008-01-08 13:08 ` Andreas Schweigstill
2008-01-08 13:27 ` Stefan Roese
2008-01-08 15:27 ` Chetan Nanda
2008-01-08 15:35 ` Ben Warren [this message]
2008-01-08 17:51 ` Andreas Schweigstill
2008-01-08 12:47 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47839831.1030107@gmail.com \
--to=biggerbadderben@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox