[ECOS] QUESTION - generic flash usage
Gary Thomas
gary@chez-thomas.org
Wed Jul 24 06:11:00 GMT 2002
On Wed, 2002-07-24 at 08:05, Jani Monoses wrote:
> Hi
> is one of the two ways of using generic flash drivers preferred?
> 1) having a src/flashXXX.c which includes the generic .inl file (ex. viper)
> 2) having a include/flashXXX.inl which does the same (ex. cerfpda)
>
> 1) is compiled and linked while 2) is itself included ....
by the generic driver which does the same thing.
These are just two different ways of viewing the same process - namely
to instantiate a specific driver from a generic framework given some
parameterization. They are pretty much the same (in my opinion) and
simply reflect the different author's attitudes when the code was
written.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list