This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]