This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Main loop user callback mechanism patch attached.
- To: Grant Edwards <grante at visi dot com>
- Subject: RE: [ECOS] Main loop user callback mechanism patch attached.
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Wed, 31 Jan 2001 13:04:39 -0700 (MST)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
Applied - again with a little massaging and generalization.
Patch attached.
On 22-Jan-2001 Grant Edwards wrote:
>
> Attached is a patch that uses the HAL_TABLE mechanism to allow
> the user to register a main-loop callback routine via the macro
> RedBoot_loop() much the same why you can register an
> initialization routine using RedBoot_init().
>
> NB: This patch also changes the main-loop gets() timeout from
> 250ms to 10ms. I was thinking about making that value
> adjustable via cdl, but haven't done it.
>
> --
> Grant Edwards
> grante@visi.com
diffs