2008-01-21 15:39:56 +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
|
|
|
#
|
2008-12-11 07:09:37 +01:00
|
|
|
# Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.
|
2008-01-21 15:39:56 +01:00
|
|
|
#
|
|
|
|
# All rights reserved. This program and the accompanying materials
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
[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
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
DriverSample.c
|
|
|
|
inventorystrings.uni
|
|
|
|
NVDataStruc.h
|
|
|
|
VfrStrings.uni
|
|
|
|
DriverSample.h
|
|
|
|
Inventory.vfr
|
|
|
|
Vfr.vfr
|
|
|
|
VfrStrings.uni
|
|
|
|
|
|
|
|
[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-04-13 08:05:15 +02:00
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiIfrTianoGuid ## CONSUMES ## Guid
|
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
|
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
|
|
|
|