This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: should Ecos re-run hal init code?
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Aaron Richardson <aarichar at cisco dot com>
- Cc: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 23 Jun 2003 17:34:22 +0200
- Subject: Re: [ECOS] should Ecos re-run hal init code?
- References: <200306230958.49009.aarichar@cisco.com>
On Mon, Jun 23, 2003 at 09:58:49AM -0500, Aaron Richardson wrote:
> I am getting execution of hal init code when I run my ecos application,
> specifically my hal_hardware_init() routine. Is this normal behavior for an
> ecos application? Is it configurable?
Yes its normal and not its not configurable.
It normally does not actually initialise that much. Disables
interrupts, disables timers, start the clock, sets up the MMU, enables
the caches and sets up the interface with redboot. Doing that twice
should not be a problem.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss