This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: FIS access
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Knud Woehler <knud dot woehler at microplex dot de>
- Cc: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 24 Jan 2003 06:02:15 -0700
- Subject: Re: FIS access
- References: <3E3135A6.90401@microplex.de>
On Fri, 2003-01-24 at 05:46, Knud Woehler wrote:
> Hi
> and another patch....
> This patch makes the FIS table readable from an application. Although it
> initialize the /dev/flash1 device from FIS.
>
Sorry, but I don't like this. We have always expected that
any application access to RedBoot data (FIS, FCONFIG, etc),
would be via a virtual vector interface. Doing it like you
have duplicates the code and the application and RedBoot
could be out of sync (e.g. your RedBoot could have the
directory in some other block, or have combined FIS/FCONFIG,
or many other choices)
The right way to solve this will be to define proper interfaces
to the RedBoot functions, using the VV methods.
--
------------------------------------------------------------
Gary Thomas |
MLB Associates | Consulting for the
+1 (970) 229-1963 | Embedded world
http://www.mlbassoc.com/ |
email: <gary@mlbassoc.com> |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------