]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/UefiLib/UefiLib.inf
Add two gEfiComponentName2ProtocolGuid and gEfiDriverDiagnostics2ProtocolGuid in...
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.inf
1 #/** @file
2 # Component description file for the entry point to a EFIDXE Drivers
3 #
4 # Library to abstract Framework extensions that conflict with UEFI 2.0 Specification
5 #
6 # Help Port Framework/Tinao code that has conflicts with UEFI 2.0 by hiding the oldconflicts with library functions and supporting implementations of the old
7 # (EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way. This module is a DXE driver as it contains DXE enum extensions for EFI event services.
8 # Copyright (c) 2007, Intel Corporation.
9 #
10 # All rights reserved. This program and the accompanying materials
11 # are licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 #
18 #**/
19
20 ################################################################################
21 #
22 # Defines Section - statements that will be processed to create a Makefile.
23 #
24 ################################################################################
25 [Defines]
26 INF_VERSION = 0x00010005
27 BASE_NAME = UefiLib
28 FILE_GUID = 3a004ba5-efe0-4a61-9f1a-267a46ae5ba9
29 MODULE_TYPE = DXE_DRIVER
30 VERSION_STRING = 1.0
31 LIBRARY_CLASS = UefiLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
32 EDK_RELEASE_VERSION = 0x00020000
33 EFI_SPECIFICATION_VERSION = 0x00020000
34
35
36 #
37 # The following information is for reference only and not required by the build tools.
38 #
39 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
40 #
41
42 ################################################################################
43 #
44 # Sources Section - list of files that are required for the build to succeed.
45 #
46 ################################################################################
47
48 [Sources.common]
49 UefiLibPrint.c
50 UefiNotTiano.c
51 UefiDriverModel.c
52 Console.c
53 UefiLib.c
54 CommonHeader.h
55
56
57 ################################################################################
58 #
59 # Includes Section - list of Include locations that are required for
60 # this module.
61 #
62 ################################################################################
63
64 [Includes]
65 $(WORKSPACE)/MdePkg\Include/Library
66
67 ################################################################################
68 #
69 # Package Dependency Section - list of Package files that are required for
70 # this module.
71 #
72 ################################################################################
73
74 [Packages]
75 MdePkg/MdePkg.dec
76
77
78 ################################################################################
79 #
80 # Library Class Section - list of Library Classes that are required for
81 # this module.
82 #
83 ################################################################################
84
85 [LibraryClasses]
86 PrintLib
87 PcdLib
88 MemoryAllocationLib
89 DebugLib
90 BaseMemoryLib
91 BaseLib
92 UefiBootServicesTableLib
93
94
95 ################################################################################
96 #
97 # Guid C Name Section - list of Guids that this module uses or produces.
98 #
99 ################################################################################
100
101 [Guids]
102 gEfiEventReadyToBootGuid # ALWAYS_CONSUMED
103 gEfiEventLegacyBootGuid # ALWAYS_CONSUMED
104
105
106 [Protocols]
107 gEfiDriverBindingProtocolGuid # ALWAYS_CONSUMED
108 gEfiComponentNameProtocolGuid # SOMETIMES_CONSUMED
109 gEfiComponentName2ProtocolGuid # SOMETIMES_CONSUMED
110 gEfiDriverConfigurationProtocolGuid # SOMETIMES_CONSUMED
111 gEfiDriverDiagnosticsProtocolGuid # SOMETIMES_CONSUMED
112 gEfiDriverDiagnostics2ProtocolGuid # SOMETIMES_CONSUMED
113
114
115 ################################################################################
116 #
117 # Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.
118 #
119 ################################################################################
120
121 [PcdsFixedAtBuild.common]
122 PcdUefiLibMaxPrintBufferSize|gEfiMdePkgTokenSpaceGuid
123
124 [PcdsFeatureFlag.common]
125 PcdDriverDiagnosticsDisable|gEfiMdePkgTokenSpaceGuid
126 PcdComponentNameDisable|gEfiMdePkgTokenSpaceGuid
127 PcdDriverDiagnostics2Disable|gEfiMdePkgTokenSpaceGuid
128 PcdComponentName2Disable|gEfiMdePkgTokenSpaceGuid
129