On 11/16/2010 02:18 AM, Kevin O'Connor wrote:
Rewriting it to use inb / stos works (jecxz ; insb; loop doesn't) so it looks like a kernel bug in insb emulation.
Ughh. I can revert that change on stable-0.6.1 if needed.
kernel bug -> kernel fix. SeaBIOS should feel free to use any documented hardware capability, esp. something as basic as rep insb which dates back to the good old 8086 days.
As an exception I ask that you stay away from big real mode and SMM.
It sounds like we really do want this on the main branch though for the speed benefit it provides.
Yes.