Re: Is it possible to manually (from code) load 'Realtek UEFI UNDI Driver' from firmware?
Sean
The uefi spec defined method to request the bds connect something is using https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Protocol/BootManagerPolicy.h
We have been trying to move partners away from hacky solutions and to this method. Thanks Sean Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: discuss@edk2.groups.io <discuss@edk2.groups.io> on behalf of Laszlo Ersek <lersek@...> Sent: Friday, May 7, 2021 9:08:17 PM To: discuss@edk2.groups.io <discuss@edk2.groups.io>; alexey3nemckovich@... <alexey3nemckovich@...> Subject: Re: [edk2-discuss] Is it possible to manually (from code) load 'Realtek UEFI UNDI Driver' from firmware? On 05/07/21 09:13, alexey3nemckovich@... wrote: I am developing efi application that should work with network.That will only load drivers that are part of the platform firmware. It will not load drivers from the disk (which could otherwise be loaded via Driver#### options), or from the ROM BARs of PCI cards. (The PCI bus driver installs EFI_LOAD_FILE2_PROTOCOL on the handle that carries EFI_PCI_IO_PROTOCOL too, for exposing the UEFI driver.) See also EFI_PCI_IO_PROTOCOL.{RomSize,RomImage}. ... TBH I'm doubtful a UEFI application is supposed to load option ROM drivers. That's the job of platform BDS. If "fast boot" is selected, then the system seems to work as intended -- I'm doubtful that running your application qualifies as "fast boot" either. I'd suggest disabling fast boot in the first place. Laszlo |
|