On Mon, May 02, 2011 at 12:48:45PM -0500, Scott Duplichan wrote:
Kevin O'Connor wrote: ]Yeah. One can call malloc_low() during the init phase to allocate ]this buffer. Ideally, though, there would be some way to share buffer ]space with the other users (eg, cdemu, ide dma, usb). ] ]-Kevin
Hello Kevin,
The attached patch used a malloc_low disk sector buffer when the caller's buffer is not aligned. The read handling is tested with DOS and the write handling is untested.
There is another problem. The same DOS image as eltorito CD-ROM causes the same problem, but with atapi. So maybe a shared 2048 byte buffer is needed.
Thanks Scott,
I'd like to commit these fixes. Is there any chance you could break them up into separate patches - one per fix?
Gerd - can you also take a look through Scott's changes and confirm they look okay to you?
-Kevin