This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FIS access


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
------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]