On 03/27/18 13:43, david moheban wrote: > I was just curious on how certain firmware packages take a Efi Shell > and make it available to boot from the F8 or F11 (or whatever) boot > menu. I suppose to make your own you have to write a dxe driver that > adds the location via guid to the boot menu?
Almost. In edk2 platforms, the agent that does this is usually not a separate DXE driver, but the given platform's PlatformBootManagerLib instance, which is linked into, and called from, BdsDxe. For two examples, please see PlatformRegisterFvBootOption() in: - ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c - OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c A related function is RemoveStaleFvFileOptions(), in both. Thanks Laszlo _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

