[ECOS] Block device IO
Gary Thomas
gary@mlbassoc.com
Tue Aug 19 14:07:00 GMT 2003
On Tue, 2003-08-19 at 08:09, Savin Zlobec wrote:
> Hello,
>
> I've just finished writting the basic block device IO stuff.
> It consists of 3 layers:
>
> 1. layer just reads and writtes blocks through cyg_io_bread/write (len
> and pos being in blocks)
>
> 2. layer does the block caching on top of first one - access is also
> trough cyg_io_bread/write (len and pos being in blocks)
>
> 3. layer does byte access trough cyg_io_bread/write (len and pos being
> in bytes,
> block number set/get is done trough cyg_io_set/get_config - you only
> need
> to set block numbers if you get over the 32 bit boundary since the
> block number
> is adjusted according to the position)
>
> the layering method used is the same as the one used in serial - tty -
> termios drivers, so
> they can also be used separatly.
>
> There are probably some bugs and holes around the code, but if anyone is
> interested in finding bugs, extending or commenting I can post it on
> discuss or better on devel list.
>
Absolutely, please send it to ecos-devel. That way, we can all look at
it, see what you're up to, provide feedback, etc.
Thanks.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
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