This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Block device IO
- From: Savin Zlobec <savin at elatec dot si>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 18 Aug 2003 16:08:19 +0200
- Subject: [ECOS] Block device IO
Hello,
I'am currently working on putting things together for
accessing block devices under eCos.
I have a simple IO layer to read/write blocks trough cyg_io_bwrite/read and
a synthetic device wich reads/writes blocks to and from file for testing.
On top on that I have a block cache layer wich caches blocks - the interface
used is the same (cyg_io_bwrite/read).
Now I'am thinking about a third layer to do the position -> block/offset
translation.
Maybe it would be cleaner to put it into a library since the only way I
see to set
block numbers is trough set_config interface (?) .
Is there any similar effort wich will be contributed back to eCos ?
I would like to keep things close to the way block devices will (or are
planned to)
work under eCos because of further development.
thanx
savin
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss