2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2008-12-11 07:09:37 +01:00
|
|
|
# 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.
|
2008-01-21 15:39:56 +01:00
|
|
|
#
|
2012-02-29 05:56:26 +01:00
|
|
|
# Copyright (c) 2007 - 2012, 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
|
|
|
|
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
|
2009-04-13 08:05:15 +02:00
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiIfrTianoGuid ## CONSUMES ## Guid
|
2011-09-18 14:21:01 +02:00
|
|
|
gDriverSampleFormSetGuid ## PRODUCES ## Guid
|
|
|
|
gDriverSampleInventoryGuid ## PRODUCES ## Guid
|
|
|
|
gEfiIfrRefreshIdOpGuid ## SOMETIMES_PRODUCES ## EventGuid
|
2008-01-21 15:39:56 +01:00
|
|
|
|
|
|
|
[Protocols]
|
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
|
2011-06-08 10:09:47 +02:00
|
|
|
gEfiSimpleTextInputExProtocolGuid ## CONSUMES
|
2012-02-29 05:56:26 +01:00
|
|
|
gEfiFormBrowserExProtocolGuid ## 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
|
|
|
|