Re: [Qemu-devel] PCI Bios fixup

2006-09-09 Thread Fabrice Bellard
Right, this is better. An even better fix would be to clear CS.RPL before the popf. Regards, Fabrice. Samuel Thibault wrote: Hi, The patch that qemu applies to bochs bios is a bit bugged: pci_pro_fail: pop edi pop esi - sti popf stc + and dword ptr[esp+4],0xfffc ;; reset

[Qemu-devel] PCI Bios fixup

2006-09-07 Thread Samuel Thibault
Hi, The patch that qemu applies to bochs bios is a bit bugged: pci_pro_fail: pop edi pop esi - sti popf stc + and dword ptr[esp+4],0xfffc ;; reset CS.RPL for kqemu retf The and operation clears carry... So that pci functions always leave carry clear, and hence tell