• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Sample platform variable cleanup library instance.
3#
4#  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
5#
6#  This program and the accompanying materials
7#  are licensed and made available under the terms and conditions
8#  of the BSD License which accompanies this distribution.  The
9#  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[Defines]
18  INF_VERSION                   = 0x00010005
19  BASE_NAME                     = PlatformVarCleanupLib
20  MODULE_UNI_FILE               = PlatformVarCleanupLib.uni
21  FILE_GUID                     = 9C9623EB-4EF3-44e0-A931-F3A340D1A0F9
22  MODULE_TYPE                   = DXE_DRIVER
23  VERSION_STRING                = 1.0
24  LIBRARY_CLASS                 = PlatformVarCleanupLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
25  CONSTRUCTOR                   = PlatformVarCleanupLibConstructor
26
27#
28# The following information is for reference only and not required by the build tools.
29#
30#  VALID_ARCHITECTURES          = IA32 X64
31#
32
33[Sources.common]
34  PlatVarCleanupLib.c
35  PlatVarCleanup.h
36  PlatVarCleanupHii.h
37  PlatVarCleanup.vfr
38  VfrStrings.uni
39
40[Packages]
41  MdePkg/MdePkg.dec
42  MdeModulePkg/MdeModulePkg.dec
43
44[LibraryClasses]
45  UefiBootServicesTableLib
46  UefiRuntimeServicesTableLib
47  UefiLib
48  BaseLib
49  DebugLib
50  BaseMemoryLib
51  PrintLib
52  MemoryAllocationLib
53  HiiLib
54
55[Guids]
56  gEfiIfrTianoGuid                  ## SOMETIMES_PRODUCES   ## GUID
57  gEdkiiVarErrorFlagGuid            ## CONSUMES             ## Variable:L"VarErrorFlag"
58  gEfiEndOfDxeEventGroupGuid        ## CONSUMES             ## Event
59  gEfiCertPkcs7Guid                 ## SOMETIMES_CONSUMES   ## GUID
60  gEfiCertTypeRsa2048Sha256Guid     ## SOMETIMES_CONSUMES   ## GUID
61
62[Protocols]
63  gEfiVariableArchProtocolGuid      ## CONSUMES
64  gEdkiiVarCheckProtocolGuid        ## CONSUMES
65  gEfiDevicePathProtocolGuid        ## SOMETIMES_PRODUCES
66  gEfiFormBrowser2ProtocolGuid      ## SOMETIMES_CONSUMES
67  gEfiHiiConfigAccessProtocolGuid   ## SOMETIMES_PRODUCES
68  gEfiHiiConfigRoutingProtocolGuid  ## SOMETIMES_CONSUMES
69
70[Depex]
71  gEdkiiVarCheckProtocolGuid AND
72  gEfiVariableArchProtocolGuid
73
74