]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
MdePkg/UefiDebugLibStdErr: Make it runtime safe
[mirror_edk2.git] / MdePkg / Library / UefiDebugLibStdErr / UefiDebugLibStdErr.inf
index 67aeb066b6a3fa4ad8314c7bd578156b22e5bb86..deaa3427f62b1596fbf0de55eb826672253b8e09 100644 (file)
@@ -1,36 +1,35 @@
-#/** @file\r
-# Debug Library for UEFI drivers\r
+## @file\r
+#  Instance of Debug Library using the Standard Error Device.\r
 #\r
-# Library to abstract Framework extensions that conflict with UEFI 2.0 Specification\r
-# Copyright (c) 2007, Intel Corporation.\r
+#  Debug Lib that sends messages to the the Standard Error Device in the EFI System Table.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
-#  are licensed and made available under the terms and conditions of the BSD License\r
-#  which accompanies this distribution. The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#  Copyright (c) 2018, Microsoft Corporation\r
 #\r
+#  Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#**/\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+#\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = UefiDebugLibStdErr\r
+  MODULE_UNI_FILE                = UefiDebugLibStdErr.uni\r
   FILE_GUID                      = b57a1df6-ffdb-4247-a3df-3a562176751a\r
   MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER \r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
+  LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
 \r
+  CONSTRUCTOR                    = DxeDebugLibConstructor\r
 \r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   DebugLib.c\r
+  DebugLibConstructor.c\r
 \r
 \r
 [Packages]\r
   BaseLib\r
   PcdLib\r
   PrintLib\r
-  UefiBootServicesTableLib\r
-\r
-\r
-[FixedPcd.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue\r
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask\r
+  DebugPrintErrorLevelLib\r
 \r
+[Guids]\r
+  gEfiEventExitBootServicesGuid                 ## CONSUMES\r
 \r
-[Pcd.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel\r
+[Pcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue   ## SOMETIMES_CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask       ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel ## CONSUMES\r
 \r