This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Question on disk_bwrite and disk_bread
- From: "Lecordier, Guy" <Guy dot Lecordier at paclp dot fr>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 28 Jul 2009 09:33:57 +0200
- Subject: [ECOS] Question on disk_bwrite and disk_bread
Hello all,
I am having troubles in the disk_bwrite() and disk_bread() of disk.c (ecos3.0).
When (funs->write) or (funs->read) return an error the program goes to "done" and ?disk_bwrite() or disk_bread() exit with the ctlr->busy = true;
At the next call of disk_bwrite() and disk_bread(), these functions block indefinitely at while( ctlr->busy ).
My question is how busy goes to false when the low level routine returns an error?
Thanks a lot,
Guy
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss