This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: FIS access
On Wed, 2003-01-29 at 12:40, Jonathan Larmour wrote:
> Gary Thomas wrote:
> > On Mon, 2003-01-27 at 03:33, Knud Woehler wrote:
> >
> >>Hi,
> >>this is my new patch to access the FIS from an application. I hope it's
> >>better than the old one.
> >
> >
> > This looks much better. I'm almost ready to commit it, but
>
> Oh and I think I'd prefer it just use the existing
> CYGACC_CALL_IF_FLASH_CFG virtual vector with different option codes. The
> reason to use a VV is because we only want a single place to do FLASH
> operations. CYGACC_CALL_IF_FLASH_CFG should probably just have been called
> CYGACC_CALL_IF_FLASH_OP really - it would always be the same single entity
> controlling the flash.
"six of one, half dozen of the other" - I like to keep functionality
separated - FCONFIG access is (in my mind) *very* different than
generic FLASH access and FIS access different still. The fact that
they all distill to FLASH hardware access is incidental and could
even change over time.
--
------------------------------------------------------------
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
------------------------------------------------------------