• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  This is a sample HII resource driver.
3#
4#  This driver show how a HII driver retrieve HII data using HII Package List protocol
5#  and publish the HII data.
6#
7#  Copyright (c) 2009 - 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                      = HiiResourcesSample
23  MODULE_UNI_FILE                = HiiResourcesSample.uni
24  FILE_GUID                      = D49D2EB0-44D5-4621-9FD6-1A92C9109B99
25  MODULE_TYPE                    = UEFI_DRIVER
26  VERSION_STRING                 = 1.0
27  ENTRY_POINT                    = HiiResourcesSampleInit
28  UNLOAD_IMAGE                   = HiiResourcesSampleUnload
29#
30#  This flag specifies whether HII resource section is generated into PE image.
31#
32  UEFI_HII_RESOURCE_SECTION      = TRUE
33
34#
35# The following information is for reference only and not required by the build tools.
36#
37#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
38#
39
40[Sources]
41  HiiResourcesSample.c
42  SampleStrings.uni
43  Sample.vfr
44
45[Packages]
46  MdePkg/MdePkg.dec
47  MdeModulePkg/MdeModulePkg.dec
48
49[LibraryClasses]
50  UefiBootServicesTableLib
51  UefiDriverEntryPoint
52  UefiHiiServicesLib
53  HiiLib
54
55[Protocols]
56  gEfiHiiPackageListProtocolGuid    ## CONSUMES
57  gEfiDevicePathProtocolGuid        ## PRODUCES
58
59[UserExtensions.TianoCore."ExtraFiles"]
60  HiiResourcesSampleExtra.uni
61