MdeModulePkg: Add match2 opcode support in SetupBrowserDxe and sample code in DriverS...
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / DriverSampleDxe.inf
CommitLineData
6bfbb5f0 1## @file\r
6036e94d 2# This is a sample HII driver. \r
93e3992d 3#\r
6036e94d
SZ
4# This driver shows how HII protocol, VFR and UNI files are used to create a HII \r
5# driver which can be dipslayed and configured by a UEFI HII Form Browser.\r
6#\r
7# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
93e3992d 8#\r
e5eed7d3 9# This program and the accompanying materials\r
93e3992d 10# are licensed and made available under the terms and conditions of the BSD License\r
11# which accompanies this distribution. The full text of the license may be found at\r
12# http://opensource.org/licenses/bsd-license.php\r
13# \r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
17#\r
6bfbb5f0 18##\r
93e3992d 19\r
20[Defines]\r
21 INF_VERSION = 0x00010005\r
22 BASE_NAME = DriverSample\r
6036e94d 23 MODULE_UNI_FILE = DriverSample.uni\r
93e3992d 24 FILE_GUID = FE3542FE-C1D3-4EF8-657C-8048606FF671\r
25 MODULE_TYPE = DXE_DRIVER\r
26 VERSION_STRING = 1.0\r
93e3992d 27 ENTRY_POINT = DriverSampleInit\r
2f3065c0 28 UNLOAD_IMAGE = DriverSampleUnload\r
93e3992d 29\r
30#\r
31# The following information is for reference only and not required by the build tools.\r
32#\r
33# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
34#\r
35\r
6bfbb5f0 36[Sources]\r
93e3992d 37 DriverSample.c\r
31634618 38 InventoryStrings.uni\r
93e3992d 39 NVDataStruc.h\r
40 VfrStrings.uni\r
41 DriverSample.h\r
42 Inventory.vfr\r
43 Vfr.vfr\r
93e3992d 44\r
45[Packages]\r
46 MdePkg/MdePkg.dec\r
47 MdeModulePkg/MdeModulePkg.dec\r
48\r
49\r
50[LibraryClasses]\r
cb7d01c0 51 BaseLib\r
93e3992d 52 MemoryAllocationLib\r
53 UefiBootServicesTableLib\r
54 UefiDriverEntryPoint\r
55 UefiRuntimeServicesTableLib\r
56 BaseMemoryLib\r
57 DebugLib\r
58 HiiLib\r
84f9a9ec 59 PrintLib\r
a6973cff 60 UefiLib\r
863986b3 61 DevicePathLib\r
7e3bcccb
LG
62\r
63[Guids]\r
6036e94d
SZ
64 gEfiIfrTianoGuid ## PRODUCES ## UNDEFINED\r
65 gDriverSampleInventoryGuid ## CONSUMES ## HII\r
66 ## SOMETIMES_PRODUCES ## Event\r
67 ## CONSUMES ## Event\r
68 gEfiIfrRefreshIdOpGuid\r
69 ## CONSUMES ## HII\r
70 ## PRODUCES ## Variable:L"MyIfrNVData"\r
71 ## SOMETIMES_CONSUMES ## Variable:L"MyIfrNVData"\r
72 ## PRODUCES ## Variable:L"MyEfiVar"\r
73 ## SOMETIMES_CONSUMES ## Variable:L"MyEfiVar"\r
74 ## PRODUCES ## GUID # HiiConstructConfigHdr MyEfiVar\r
75 ## PRODUCES ## GUID # HiiConstructConfigHdr MyIfrNVData\r
76 ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch MyEfiVar\r
77 ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch MyIfrNVData\r
78 ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData MyIfrNVData\r
79 ## SOMETIMES_CONSUMES ## GUID # HiiSetBrowserData MyIfrNVData\r
80 ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData MyEfiVar\r
81 ## SOMETIMES_CONSUMES ## GUID # HiiSetBrowserData MyEfiVar\r
82 gDriverSampleFormSetGuid\r
93e3992d 83\r
84[Protocols]\r
6036e94d
SZ
85 ## PRODUCES # DriverSampleFormSet\r
86 ## PRODUCES # DriverSampleInventory\r
87 gEfiDevicePathProtocolGuid\r
3018ca2d 88 gEfiHiiStringProtocolGuid ## CONSUMES\r
89 gEfiHiiConfigRoutingProtocolGuid ## CONSUMES\r
1d451ff9 90 gEfiHiiConfigAccessProtocolGuid ## PRODUCES\r
3018ca2d 91 gEfiFormBrowser2ProtocolGuid ## CONSUMES\r
92 gEfiHiiDatabaseProtocolGuid ## CONSUMES\r
6036e94d 93 gEfiSimpleTextInputExProtocolGuid ## SOMETIMES_CONSUMES\r
2b826e21 94 gEfiFormBrowserExProtocolGuid ## CONSUMES\r
93e3992d 95\r
96[Depex]\r
676df92c 97 gEfiSimpleTextOutProtocolGuid AND gEfiHiiDatabaseProtocolGuid AND gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid\r
93e3992d 98\r
6036e94d
SZ
99[UserExtensions.TianoCore."ExtraFiles"]\r
100 DriverSampleExtra.uni\r