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