2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2014-08-28 08:34:06 +02:00
|
|
|
# This is a sample HII driver.
|
2008-01-21 15:39:56 +01:00
|
|
|
#
|
2014-08-28 08:34:06 +02:00
|
|
|
# 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.
|
|
|
|
#
|
2017-08-22 09:06:21 +02:00
|
|
|
# Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>
|
2008-01-21 15:39:56 +01:00
|
|
|
#
|
2010-04-24 11:33:45 +02:00
|
|
|
# This program and the accompanying materials
|
2008-01-21 15:39:56 +01:00
|
|
|
# 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
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2008-01-21 15:39:56 +01:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = DriverSample
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = DriverSample.uni
|
2008-01-21 15:39:56 +01:00
|
|
|
FILE_GUID = FE3542FE-C1D3-4EF8-657C-8048606FF671
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = DriverSampleInit
|
2009-04-09 17:22:27 +02:00
|
|
|
UNLOAD_IMAGE = DriverSampleUnload
|
2008-01-21 15:39:56 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2008-01-21 15:39:56 +01:00
|
|
|
DriverSample.c
|
2010-09-07 12:37:31 +02:00
|
|
|
InventoryStrings.uni
|
2008-01-21 15:39:56 +01:00
|
|
|
NVDataStruc.h
|
|
|
|
VfrStrings.uni
|
|
|
|
DriverSample.h
|
|
|
|
Inventory.vfr
|
|
|
|
Vfr.vfr
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
2009-04-14 12:47:19 +02:00
|
|
|
BaseLib
|
2008-01-21 15:39:56 +01:00
|
|
|
MemoryAllocationLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
|
|
|
HiiLib
|
2009-05-14 09:06:06 +02:00
|
|
|
PrintLib
|
2009-10-26 06:27:28 +01:00
|
|
|
UefiLib
|
2013-07-26 05:14:08 +02:00
|
|
|
DevicePathLib
|
2009-04-13 08:05:15 +02:00
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 08:34:06 +02:00
|
|
|
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
|
2008-01-21 15:39:56 +01:00
|
|
|
|
|
|
|
[Protocols]
|
2014-08-28 08:34:06 +02:00
|
|
|
## PRODUCES # DriverSampleFormSet
|
|
|
|
## PRODUCES # DriverSampleInventory
|
|
|
|
gEfiDevicePathProtocolGuid
|
2009-02-03 03:23:03 +01:00
|
|
|
gEfiHiiStringProtocolGuid ## CONSUMES
|
|
|
|
gEfiHiiConfigRoutingProtocolGuid ## CONSUMES
|
2009-04-27 06:55:02 +02:00
|
|
|
gEfiHiiConfigAccessProtocolGuid ## PRODUCES
|
2009-02-03 03:23:03 +01:00
|
|
|
gEfiFormBrowser2ProtocolGuid ## CONSUMES
|
|
|
|
gEfiHiiDatabaseProtocolGuid ## CONSUMES
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiSimpleTextInputExProtocolGuid ## SOMETIMES_CONSUMES
|
2016-09-22 04:03:42 +02:00
|
|
|
gEdkiiFormBrowserExProtocolGuid ## CONSUMES
|
2015-05-13 10:45:21 +02:00
|
|
|
gEfiConfigKeywordHandlerProtocolGuid ## CONSUMES
|
2017-08-22 09:06:21 +02:00
|
|
|
gEfiHiiPopupProtocolGuid ## CONSUMES
|
2008-01-21 15:39:56 +01:00
|
|
|
|
|
|
|
[Depex]
|
2008-10-30 08:32:46 +01:00
|
|
|
gEfiSimpleTextOutProtocolGuid AND gEfiHiiDatabaseProtocolGuid AND gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid
|
2008-01-21 15:39:56 +01:00
|
|
|
|
2014-08-28 08:34:06 +02:00
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
DriverSampleExtra.uni
|