>>>> +    // On physical hardware, some PCI devices are not detectable when
>>>> +    // UEFI invokes our InitializeYourself() function. But they
>>>> +    // are guaranteed to be available before UEFI invokes our
>>>> +    // PreparToBoot() function.
>>>> +    if (CONFIG_CSM && !CONFIG_QEMU_HARDWARE)
>>>> +        pci_probe_devices();
>>>> +
>>>>        dprintf(3, "PrepareToBoot table %04x:%04x\n", regs->es, regs->bx);
>>>>
>>>>        struct e820entry *p = (void *)csm_compat_table.E820Pointer;
>>>
>>> Why don’t we want to do the same for QEMU?
>>
>> This problem was only seen on physical hardware, so I wanted this
>> fix to be applied only to physical hardware.
>
>Yes, I understand, but less code “complexity” and having the same
>behavior on QEMU and real hardware is preferred. The maintainer Gerd
>replied yesterday. Did you get his reply (Message-ID:
><20210111143917.i6tsrnaymcly5...@sirius.home.kraxel.org>)?

Thanks Paul and sorry for late catch-up.
Yes I saw Gerd's reply and we agreed to keep this change common to both
QEMU and bare metal.

>
>
>Kind regards,
>
>Paul
>_______________________________________________
>SeaBIOS mailing list -- seabios@seabios.org
>To unsubscribe send an email to seabios-le...@seabios.org

_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to