This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: FLASH API v.2 and interrupts
- From: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- To: "eCos Discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 7 Oct 2009 10:30:08 -0700
- Subject: RE: [ECOS] FLASH API v.2 and interrupts
> From: Bart Veer
>
> On other hardware the flash driver has to disable the cache before it
> can talk directly to the flash chip. You do not want interrupts or
> context switches while the cache is disabled, the resulting system
> performance would be terrible. The LEAVE_INTERRUPTS_ENABLED option is
> not available on hardware like this.
That seems an odd assumption to make. In lots of systems, max CPU horsepower
is only needed intermittently, and keeping the system responsive, say, to
slow user input would be preferable to shutting everything down during flash
writes.
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss