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