[SeaBIOS] non-emulated AHCI hardware

Scott Duplichan scott at notabs.org
Mon May 2 19:48:45 CEST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ahci-002.patch
Type: application/octet-stream
Size: 7356 bytes
Desc: not available
URL: <http://www.seabios.org/pipermail/seabios/attachments/20110502/80f4ce4d/attachment.obj>


More information about the SeaBIOS mailing list