public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Ann <ktdann@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Watchdog timer reset
Date: Fri, 13 May 2005 10:46:28 +0900	[thread overview]
Message-ID: <9b7ca65705051218464db74e8b@mail.gmail.com> (raw)
In-Reply-To: <20050512133521.A19DDC1512@atlas.denx.de>

On 5/12/05, Wolfgang Denk <wd@denx.de> wrote:
> watchdog_reset() for example?

Thanks. I can see what's going on now. I wasnt really interested about
how to reset watchdog itself, but rather continuously calling
particular function in set interval. Having looked at how
WATCHDOG_RESET() is called, I sort of see it now.

> No, it does not. As mentioned before, there are no signals  or  tasks
> or  similar in U-Boot. Everything is strictly single-tasking. I'm not
> sure waht you want, but you can problaby do something like
> 
>        for  (;;) {
>                /* do something */
>                usleep (10 * CFG_HZ);
>        }
> 
> in C, but I don't understand what that would give you.

Okay, I got you on U-Boot being single tasking process. And like you
said, I wouldnt want to do something like above also :P

Thanks again for putting me on the right track.
Cheers,

-- 
Daniel

      reply	other threads:[~2005-05-13  1:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09 11:05 [U-Boot-Users] Watchdog timer reset Daniel Ann
2005-05-11 22:23 ` Wolfgang Denk
2005-05-12 12:05   ` Daniel Ann
2005-05-12 13:35     ` Wolfgang Denk
2005-05-13  1:46       ` Daniel Ann [this message]

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=9b7ca65705051218464db74e8b@mail.gmail.com \
    --to=ktdann@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