[SeaBIOS] [RFC] [PATCH 1/2] Implement support for transitioning from 16 bit to 32 bit

Gerd Hoffmann kraxel at redhat.com
Thu Nov 25 09:39:40 CET 2010


On 11/24/10 19:34, Sebastian Herbszt wrote:
> Gerd Hoffmann wrote:
>> Hi,
>>
>>> Looks like call32 doesn't work when %esp>64K. I hacked a patch (see
>>> below), but it's quite ugly.
>>
>> Does the trick though, at least for grub/syslinux booting from ahci.
>>
>> http://cgit.freedesktop.org/~kraxel/seabios/log/?h=ahci
>>
>> cheers,
>> Gerd
>
> Should the pci scan in ahci_init() be replaced by an entry in
> pci_class_tbl?

I don't think so.  That looks like being intended for device specific 
tweaks in early pci init.

> Should the "for (pnr = 0; pnr < 32; pnr++)" loop in ahci_detect() use the
> "Number of Ports" value from ctrl->cap instead of 32?

Would safe a few loop hops but isn't required.  Each usable port is 
flagged with a bit in ctrl->ports.

cheers,
   Gerd




More information about the SeaBIOS mailing list