mirror of
https://github.com/acidanthera/audk.git
synced 2025-06-02 12:50:12 +02:00
The device manager UI library creates a UiApp submenu that contains a list of network devices in the system. The logic that creates this menu assumes that all handles have been connected to their drivers, but this is not guaranteed in the general case: due to the way UiApp is constructed, this logic runs before the UiApp entrypoint is invoked, which is where ConnectAll() is normally called to ensure that all existing controllers are connected to their drivers. Moving this call into DeviceManagerUiLib is not an option, since it is incorporated into UiApp via NULL library class resolution, and so it may not be included to begin with. So work around this by doing an explicit additional ConnectAll() before populating the pages. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Link: https://edk2.groups.io/g/devel/topic/72879609#57075 Reviewed-by: Dandan Bi <dandan.bi@intel.com>
53 lines
1.6 KiB
INI
53 lines
1.6 KiB
INI
## @file
|
|
# Device Manager Library used by UiApp
|
|
#
|
|
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = DeviceManagerUiLib
|
|
MODULE_UNI_FILE = DeviceManagerUiLib.uni
|
|
FILE_GUID = 75EBDC2E-5323-4F31-A41D-FD1A7A9FC65E
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = NULL|DXE_DRIVER UEFI_APPLICATION
|
|
CONSTRUCTOR = DeviceManagerUiLibConstructor
|
|
DESTRUCTOR = DeviceManagerUiLibDestructor
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
DeviceManager.h
|
|
DeviceManagerVfr.Vfr
|
|
DeviceManagerStrings.uni
|
|
DeviceManager.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
DevicePathLib
|
|
BaseLib
|
|
MemoryAllocationLib
|
|
UefiBootServicesTableLib
|
|
BaseMemoryLib
|
|
DebugLib
|
|
PrintLib
|
|
HiiLib
|
|
UefiBootManagerLib
|
|
UefiHiiServicesLib
|
|
|
|
[Guids]
|
|
gEfiHiiPlatformSetupFormsetGuid ## CONSUMES ## GUID (Indicate the formset class guid to be displayed)
|
|
gEfiIfrTianoGuid ## CONSUMES ## GUID (Extended IFR Guid Opcode)
|
|
gEfiIfrFrontPageGuid ## CONSUMES ## GUID (Indicate the formset in this library need to dispaly in which page)
|
|
|
|
[Protocols]
|
|
gEfiHiiConfigAccessProtocolGuid ## CONSUMES
|