1## @file
2#  Debug Print Error Level library instance that provide compatibility with the "err" shell command.
3#  This includes support for the Debug Mask Protocol supports for global debug print error level mask
4#  stored in an EFI Variable. This library instance only support DXE Phase modules.
5#
6#  Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
7#
8#  This program and the accompanying materials
9#  are licensed and made available under the terms and conditions of the BSD License
10#  which accompanies this distribution. The full text of the license may be found at
11#  http://opensource.org/licenses/bsd-license.php.
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
18[Defines]
19  INF_VERSION                    = 0x00010005
20  BASE_NAME                      = DxeDebugPrintErrorLevelLib
21  MODULE_UNI_FILE                = DxeDebugPrintErrorLevelLib.uni
22  FILE_GUID                      = 1D564EC9-9373-49a4-9E3F-E4D7B9974C84
23  MODULE_TYPE                    = DXE_DRIVER
24  VERSION_STRING                 = 1.0
25  LIBRARY_CLASS                  = DebugPrintErrorLevelLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER
26  CONSTRUCTOR                    = DxeDebugPrintErrorLevelLibConstructor
27  DESTRUCTOR                     = DxeDebugPrintErrorLevelLibDestructor
28
29#
30#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
31#
32
33[Sources]
34  DxeDebugPrintErrorLevelLib.c
35
36[Packages]
37  MdePkg/MdePkg.dec
38  MdeModulePkg/MdeModulePkg.dec
39
40[LibraryClasses]
41  PcdLib
42  HobLib
43
44[Protocols]
45  gEfiDebugMaskProtocolGuid     ## PRODUCES
46
47[Guids]
48  ## SOMETIMES_PRODUCES   ## Variable:L"EFIDebug"
49  ## SOMETIMES_CONSUMES   ## Variable:L"EFIDebug"
50  ## SOMETIMES_CONSUMES   ## HOB
51  gEfiGenericVariableGuid
52
53[Pcd]
54  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel  ## CONSUMES
55