]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / DxeDebugPrintErrorLevelLib / DxeDebugPrintErrorLevelLib.inf
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 - 2018, Intel Corporation. All rights reserved.<BR>
7 #
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 #
11 ##
12
13 [Defines]
14 INF_VERSION = 0x00010005
15 BASE_NAME = DxeDebugPrintErrorLevelLib
16 MODULE_UNI_FILE = DxeDebugPrintErrorLevelLib.uni
17 FILE_GUID = 1D564EC9-9373-49a4-9E3F-E4D7B9974C84
18 MODULE_TYPE = DXE_DRIVER
19 VERSION_STRING = 1.0
20 LIBRARY_CLASS = DebugPrintErrorLevelLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
21 CONSTRUCTOR = DxeDebugPrintErrorLevelLibConstructor
22 DESTRUCTOR = DxeDebugPrintErrorLevelLibDestructor
23
24 #
25 # VALID_ARCHITECTURES = IA32 X64 EBC
26 #
27
28 [Sources]
29 DxeDebugPrintErrorLevelLib.c
30
31 [Packages]
32 MdePkg/MdePkg.dec
33 MdeModulePkg/MdeModulePkg.dec
34
35 [LibraryClasses]
36 PcdLib
37 HobLib
38
39 [Protocols]
40 gEfiDebugMaskProtocolGuid ## PRODUCES
41
42 [Guids]
43 ## SOMETIMES_PRODUCES ## Variable:L"EFIDebug"
44 ## SOMETIMES_CONSUMES ## Variable:L"EFIDebug"
45 ## SOMETIMES_CONSUMES ## HOB
46 gEfiGenericVariableGuid
47
48 [Pcd]
49 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel ## CONSUMES