1## @file
2#  Instance of Debug Library using EFI_DEBUGPORT_PROTOCOL.
3#
4#  Debug Lib that sends messages to EFI_DEBUGPORT_PROTOCOL.Write.
5#
6#  Copyright (c) 2015, 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                      = UefiDebugLibDebugPortProtocol
21  MODULE_UNI_FILE                = UefiDebugLibDebugPortProtocol.uni
22  FILE_GUID                      = 102287b4-6b12-4D41-91e1-ebee1f3aa614
23  MODULE_TYPE                    = UEFI_DRIVER
24  VERSION_STRING                 = 1.0
25  LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
26
27
28#
29#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
30#
31
32
33[Sources]
34  DebugLib.c
35
36
37
38[Packages]
39  MdePkg/MdePkg.dec
40
41
42[LibraryClasses]
43  BaseMemoryLib
44  BaseLib
45  PcdLib
46  PrintLib
47  UefiBootServicesTableLib
48  DebugPrintErrorLevelLib
49
50[Protocols]
51  gEfiDebugPortProtocolGuid                     ## CONSUMES
52
53[Pcd]
54  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue        ## SOMETIMES_CONSUMES
55  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask            ## CONSUMES
56  gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel    ## CONSUMES
57
58