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