X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FDriverSampleDxe%2FDriverSampleDxe.inf;h=307c4c3dde8c425d1a6b264a069638200a19ec3d;hp=9e5ff999998dea5957de500135d75bcb066e98e8;hb=9bd22b08d1a9b0b4c2fd325a928b58acd176d9d1;hpb=2f3065c0fb21a054956e11ebd6caf5a68bd296e2 diff --git a/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf b/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf index 9e5ff99999..307c4c3dde 100644 --- a/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf +++ b/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf @@ -1,10 +1,12 @@ -#/** @file -# This is a sample driver which show how HII protocol, VFR and UNI files are used to -# create a driver which can be dipslayed and configured by a UEFI HII Form Browser. +## @file +# This is a sample HII driver. # -# Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved. +# This driver shows how HII protocol, VFR and UNI files are used to create a HII +# driver which can be dipslayed and configured by a UEFI HII Form Browser. # -# All rights reserved. This program and the accompanying materials +# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
+# +# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd-license.php @@ -13,11 +15,12 @@ # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # # -#**/ +## [Defines] INF_VERSION = 0x00010005 BASE_NAME = DriverSample + MODULE_UNI_FILE = DriverSample.uni FILE_GUID = FE3542FE-C1D3-4EF8-657C-8048606FF671 MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 @@ -30,15 +33,14 @@ # VALID_ARCHITECTURES = IA32 X64 IPF EBC # -[Sources.common] +[Sources] DriverSample.c - inventorystrings.uni + InventoryStrings.uni NVDataStruc.h VfrStrings.uni DriverSample.h Inventory.vfr Vfr.vfr - VfrStrings.uni [Packages] MdePkg/MdePkg.dec @@ -46,6 +48,7 @@ [LibraryClasses] + BaseLib MemoryAllocationLib UefiBootServicesTableLib UefiDriverEntryPoint @@ -53,17 +56,45 @@ BaseMemoryLib DebugLib HiiLib - IfrSupportLib - ExtendedIfrSupportLib + PrintLib + UefiLib + DevicePathLib + +[Guids] + gEfiIfrTianoGuid ## PRODUCES ## UNDEFINED + gDriverSampleInventoryGuid ## CONSUMES ## HII + ## SOMETIMES_PRODUCES ## Event + ## CONSUMES ## Event + gEfiIfrRefreshIdOpGuid + ## CONSUMES ## HII + ## PRODUCES ## Variable:L"MyIfrNVData" + ## SOMETIMES_CONSUMES ## Variable:L"MyIfrNVData" + ## PRODUCES ## Variable:L"MyEfiVar" + ## SOMETIMES_CONSUMES ## Variable:L"MyEfiVar" + ## PRODUCES ## GUID # HiiConstructConfigHdr MyEfiVar + ## PRODUCES ## GUID # HiiConstructConfigHdr MyIfrNVData + ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch MyEfiVar + ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch MyIfrNVData + ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData MyIfrNVData + ## SOMETIMES_CONSUMES ## GUID # HiiSetBrowserData MyIfrNVData + ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData MyEfiVar + ## SOMETIMES_CONSUMES ## GUID # HiiSetBrowserData MyEfiVar + gDriverSampleFormSetGuid [Protocols] + ## PRODUCES # DriverSampleFormSet + ## PRODUCES # DriverSampleInventory + gEfiDevicePathProtocolGuid gEfiHiiStringProtocolGuid ## CONSUMES gEfiHiiConfigRoutingProtocolGuid ## CONSUMES - gEfiHiiConfigAccessProtocolGuid ## CONSUMES + gEfiHiiConfigAccessProtocolGuid ## PRODUCES gEfiFormBrowser2ProtocolGuid ## CONSUMES gEfiHiiDatabaseProtocolGuid ## CONSUMES - + gEfiSimpleTextInputExProtocolGuid ## SOMETIMES_CONSUMES + gEfiFormBrowserExProtocolGuid ## CONSUMES [Depex] gEfiSimpleTextOutProtocolGuid AND gEfiHiiDatabaseProtocolGuid AND gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid +[UserExtensions.TianoCore."ExtraFiles"] + DriverSampleExtra.uni