From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How to add Timer Interrupt to u-boot?
Date: Fri, 27 Jul 2007 08:57:33 -0400 [thread overview]
Message-ID: <46A9EBBD.2090500@gmail.com> (raw)
In-Reply-To: <001301c7d026$259a6ac0$3400a8c0@nmarobert>
Robert wrote:
> Hello all:
>
> Everybody knows how to add Timer Interrupt to the u-boot?
> I wrote a fuction called timer0_isr(), and wanted to add it to Uboot,
> but I didn't know what to do, Does the uboot has a funciton like
> function request_irq() in linux kernel?
> Thanks in advance!
>
> With kind regards,
>
> Robert Xia
Hi Robert,
Interrupts are not used by u-boot (with some rare exceptions).
Generally things poll and there is usually some type of counter register
(processor or board-specific) for measuring elapsed time.
If you really need interrupts, you will probably have to set up the
vectors, interrupt registers, etc. yourself.
Best regards,
gvb
next prev parent reply other threads:[~2007-07-27 12:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 8:14 [U-Boot-Users] How to add Timer Interrupt to u-boot? Robert
2007-07-27 12:57 ` Jerry Van Baren [this message]
2007-07-30 14:17 ` Detlev Zundel
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=46A9EBBD.2090500@gmail.com \
--to=gvb.uboot@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