blob: 54b55c44e707729a519b3fb38af2678bd39ab13f [file] [log] [blame]
lgao46bfbb5f2010-02-24 00:21:16 +00001## @file
qwang12958536b2008-01-24 07:32:23 +00002# EDK Compatibility Package Build File
3#
4#
hhtian8362d122010-04-24 09:52:28 +00005# Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
qwang12958536b2008-01-24 07:32:23 +00006#
hhtian8362d122010-04-24 09:52:28 +00007# This program and the accompanying materials
qwang12958536b2008-01-24 07:32:23 +00008# are licensed and made available under the terms and conditions of the BSD License
9# which accompanies this distribution. The full text of the license may be found at
10# http://opensource.org/licenses/bsd-license.php
11#
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#
lgao46bfbb5f2010-02-24 00:21:16 +000015##
qwang12958536b2008-01-24 07:32:23 +000016
17################################################################################
18#
19# Defines Section - statements that will be processed to create a Makefile.
20#
21################################################################################
22[Defines]
23 PLATFORM_NAME = EdkCompatibilityPkg
24 PLATFORM_GUID = 6CBD2F63-BCF2-42b0-937E-869C67D2F734
lgao43362f0e2010-03-09 07:47:58 +000025 PLATFORM_VERSION = 0.91
qwang12958536b2008-01-24 07:32:23 +000026 DSC_SPECIFICATION = 0x00010005
qwang12b7771ea2009-01-04 09:12:47 +000027 OUTPUT_DIRECTORY = Build/EdkCompatibilityPkg
qwang12d33ef4e2008-06-19 07:05:44 +000028 SUPPORTED_ARCHITECTURES = IA32|X64|IPF|EBC
qwang12958536b2008-01-24 07:32:23 +000029 BUILD_TARGETS = DEBUG|RELEASE
30 SKUID_IDENTIFIER = DEFAULT
qwang1298366112008-11-18 10:03:39 +000031define MSFT_MACRO = /D EFI_SPECIFICATION_VERSION=0x00020000 /D PI_SPECIFICATION_VERSION=0x00009000 /D TIANO_RELEASE_VERSION=0x00080006 /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000 /D EFI_DEBUG
32define INTEL_MACRO = /D EFI_SPECIFICATION_VERSION=0x00020000 /D PI_SPECIFICATION_VERSION=0x00009000 /D TIANO_RELEASE_VERSION=0x00080006 /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000 /D EFI_DEBUG
33define GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_SPECIFICATION_VERSION=0x00009000 -DTIANO_RELEASE_VERSION=0x00080006 -DPCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000 -DEFI_DEBUG
qwang12958536b2008-01-24 07:32:23 +000034
35################################################################################
36#
37# SKU Identification section - list of all SKU IDs supported by this
38# Platform.
39#
40################################################################################
41[SkuIds]
42 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
43
lgao46bfbb5f2010-02-24 00:21:16 +000044[LibraryClasses]
qwang1216bdc872008-05-21 07:58:18 +000045 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
mdkinney1831d0e2009-01-30 00:38:37 +000046 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
qwang1216bdc872008-05-21 07:58:18 +000047 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
lgao439e65b32009-04-13 06:12:27 +000048 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
qhuang8d485acd2008-11-13 09:36:05 +000049 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
qwang1216bdc872008-05-21 07:58:18 +000050 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
qwang1267ef3ca2008-05-29 07:12:06 +000051 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
qwang1216bdc872008-05-21 07:58:18 +000052 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
53 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
54 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
55 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
qwang12d33ef4e2008-06-19 07:05:44 +000056 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
qwang1216bdc872008-05-21 07:58:18 +000057 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
qwang1216bdc872008-05-21 07:58:18 +000058 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
rsun3fb03ca12010-02-10 08:30:51 +000059 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
qwang1216bdc872008-05-21 07:58:18 +000060 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
61 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
62 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
63 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
lgao465356522009-06-01 06:46:03 +000064 LanguageLib|EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.inf
xli24768e2a92009-12-15 03:00:49 +000065 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
rsun39e620712009-12-31 08:42:28 +000066 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
67 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
68 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
lgao48180a7a2010-04-06 02:37:53 +000069 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
vanjeff74f89522010-07-27 07:40:20 +000070 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
xli24768e2a92009-12-15 03:00:49 +000071
qwang12d33ef4e2008-06-19 07:05:44 +000072[LibraryClasses.common.PEIM]
qwang12d33ef4e2008-06-19 07:05:44 +000073 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
74
mdkinney75196b02010-02-14 06:29:47 +000075[LibraryClasses.common.DXE_DRIVER,LibraryClasses.common.DXE_RUNTIME_DRIVER]
xli245a6f1222008-10-25 16:31:23 +000076 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
qwang1216bdc872008-05-21 07:58:18 +000077
rsun39e620712009-12-31 08:42:28 +000078[LibraryClasses.IA32.DXE_SMM_DRIVER,LibraryClasses.X64.DXE_SMM_DRIVER]
79 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
80 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
mdkinney75196b02010-02-14 06:29:47 +000081 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
rsun39e620712009-12-31 08:42:28 +000082
qwang12958536b2008-01-24 07:32:23 +000083[BuildOptions]
qhuang87794bac2008-03-28 11:50:37 +000084 GCC:*_*_IA32_CC_FLAGS = -DEFI32 $(GCC_MACRO)
qhuang88a7bae22009-09-22 09:55:30 +000085 GCC:*_*_IA32_ASM_FLAGS =
qhuang87794bac2008-03-28 11:50:37 +000086 GCC:*_*_IA32_VFRPP_FLAGS = -DEFI32 $(GCC_MACRO)
87 GCC:*_*_IA32_APP_FLAGS = -DEFI32 $(GCC_MACRO)
88 GCC:*_*_IA32_PP_FLAGS = -DEFI32 $(GCC_MACRO)
89
90 GCC:*_*_X64_CC_FLAGS = -DEFIX64 $(GCC_MACRO)
qhuang88a7bae22009-09-22 09:55:30 +000091 GCC:*_*_X64_ASM_FLAGS =
qhuang87794bac2008-03-28 11:50:37 +000092 GCC:*_*_X64_VFRPP_FLAGS = -DEFIX64 $(GCC_MACRO)
93 GCC:*_*_X64_APP_FLAGS = -DEFIX64 $(GCC_MACRO)
94 GCC:*_*_X64_PP_FLAGS = -DEFIX64 $(GCC_MACRO)
95
96 GCC:*_*_IPF_CC_FLAGS = -DEFI64 $(GCC_MACRO)
qhuang864258682008-03-28 12:28:06 +000097 GCC:*_*_IPF_ASM_FLAGS =
qhuang87794bac2008-03-28 11:50:37 +000098 GCC:*_*_IPF_VFRPP_FLAGS = -DEFI64 $(GCC_MACRO)
99 GCC:*_*_IPF_APP_FLAGS = -DEFI64 $(GCC_MACRO)
100 GCC:*_*_IPF_PP_FLAGS = -DEFI64 $(GCC_MACRO)
101
qwang12958536b2008-01-24 07:32:23 +0000102
jljustend7298952008-04-05 00:08:21 +0000103 INTEL:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
104 INTEL:*_*_IA32_ASM_FLAGS = /DEFI32
105 INTEL:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)
106 INTEL:*_*_IA32_APP_FLAGS = /D EFI32 $(MSFT_MACRO)
107 INTEL:*_*_IA32_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
jljusten0da6ca42008-04-04 23:39:06 +0000108
qwang12d33ef4e2008-06-19 07:05:44 +0000109 INTEL:*_*_EBC_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
110 INTEL:*_*_EBC_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
111
jljustend7298952008-04-05 00:08:21 +0000112 INTEL:*_*_X64_CC_FLAGS = /D EFIX64 $(MSFT_MACRO)
113 INTEL:*_*_X64_ASM_FLAGS = /DEFIX64
114 INTEL:*_*_X64_VFRPP_FLAGS = /D EFIX64 $(MSFT_MACRO)
115 INTEL:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)
116 INTEL:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)
jljusten0da6ca42008-04-04 23:39:06 +0000117
jljustend7298952008-04-05 00:08:21 +0000118 INTEL:*_*_IPF_CC_FLAGS = /D EFI64 $(MSFT_MACRO)
119 INTEL:*_*_IPF_ASM_FLAGS =
120 INTEL:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)
121 INTEL:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)
122 INTEL:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)
jljusten0da6ca42008-04-04 23:39:06 +0000123
124
125 MSFT:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
126 MSFT:*_*_IA32_ASM_FLAGS = /DEFI32
127 MSFT:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)
128 MSFT:*_*_IA32_APP_FLAGS = /D EFI32 $(MSFT_MACRO)
129 MSFT:*_*_IA32_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
130
131 MSFT:*_*_X64_CC_FLAGS = /D EFIX64 $(MSFT_MACRO)
132 MSFT:*_*_X64_ASM_FLAGS = /DEFIX64
133 MSFT:*_*_X64_VFRPP_FLAGS = /D EFIX64 $(MSFT_MACRO)
134 MSFT:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)
135 MSFT:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)
136
lgao4152f6a02010-01-09 07:37:42 +0000137 MSFT:*_*_IPF_CC_FLAGS = /Od /Os /D EFI64 $(MSFT_MACRO)
jljusten0da6ca42008-04-04 23:39:06 +0000138 MSFT:*_*_IPF_ASM_FLAGS =
139 MSFT:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)
140 MSFT:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)
141 MSFT:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)
142
xli24b2ba1c12009-02-10 08:55:56 +0000143###################################################################################################
144#
145# Components Section - list of the modules and components that will be processed by compilation
146# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
147#
148# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
149# into firmware volume images. This section is just a list of modules to compile from
150# source into UEFI-compliant binaries.
151# It is the FDF file that contains information on combining binary files into firmware
152# volume images, whose concept is beyond UEFI and is described in PI specification.
153# Binary modules do not need to be listed in this section, as they should be
154# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
155# Logo (Logo.bmp), and etc.
156# There may also be modules listed in this section that are not required in the FDF file,
157# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
158# generated for it, but the binary will not be put into any firmware volume.
159#
160###################################################################################################
qwang12958536b2008-01-24 07:32:23 +0000161
lgao46bfbb5f2010-02-24 00:21:16 +0000162[Components]
qwang12958536b2008-01-24 07:32:23 +0000163
164# All Libraries Instances listed in Alphabetic Order
jljustene84217e2008-03-17 22:01:12 +0000165 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
166 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
167 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
168 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
169 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
170 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
171 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
qwang12958536b2008-01-24 07:32:23 +0000172
qwang12ba428fb2008-11-29 07:38:29 +0000173 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000174 EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
qwang1281c56b82008-12-03 13:50:50 +0000175 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000176 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
177 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
178 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
179 EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
180 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
181 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
182 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
183 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
184 EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf
185 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
186 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf
jljustene84217e2008-03-17 22:01:12 +0000187 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf
188 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf
189 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf
190 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf
191 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf
192 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
193 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
194 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf
195 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
196 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
197 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf
198 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.inf
199 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
200 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf
201 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf
202 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
qwang12958536b2008-01-24 07:32:23 +0000203
jljustene84217e2008-03-17 22:01:12 +0000204 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
lgao4b56111f2010-03-15 09:24:26 +0000205 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/SmmRuntimeDxeReportStatusCodeLib.inf
jljustene84217e2008-03-17 22:01:12 +0000206 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf
207 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/DxeSmbusLib.inf
208 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf
209 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf
210 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
211 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf
212 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf
213 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
jljustene84217e2008-03-17 22:01:12 +0000214 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
215 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
216 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf
217 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
218 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/PeiSmbusLib.inf
219 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
220 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf
221 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf
222 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf
223 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
qwang1298366112008-11-18 10:03:39 +0000224 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000225 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
qwang1298366112008-11-18 10:03:39 +0000226 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib_Edk2.inf
227 EdkCompatibilityPkg/Foundation/Library/Thunk16/Thunk16Lib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000228 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
229 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
230 EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.inf
231 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.inf
232 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.inf
233 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtLedStatusCode/RtLedStatusCode.inf
234 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.inf
235 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPlatformStatusCode/Nt32/RtPlatformStatusCode.inf
236 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.inf
237 EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/EdkNt32PpiLib.inf
238 EdkCompatibilityPkg/Sample/Platform/Nt32/Protocol/EdkNt32ProtocolLib.inf
qwang12958536b2008-01-24 07:32:23 +0000239
qwang1216bdc872008-05-21 07:58:18 +0000240 #
241 # Modules in Compatibility Directory
242 #
qwang12f67cc2c2009-01-21 10:21:50 +0000243 EdkCompatibilityPkg/Compatibility/DeviceIoOnPciRootBridgeIoThunk/DeviceIoOnPciRootBridgeIoThunk.inf
244 EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/FrameworkHiiOnUefiHiiThunk.inf
245 EdkCompatibilityPkg/Compatibility/FvFileLoaderOnLoadFileThunk/FvFileLoaderOnLoadFileThunk.inf
246 EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/FvOnFv2Thunk.inf
247 EdkCompatibilityPkg/Compatibility/Fv2OnFvThunk/Fv2OnFvThunk.inf
248 EdkCompatibilityPkg/Compatibility/PciCfg2OnPciCfgThunk/PciCfg2OnPciCfgThunk.inf
249 EdkCompatibilityPkg/Compatibility/PciCfgOnPciCfg2Thunk/PciCfgOnPciCfg2Thunk.inf
250 EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2OnReadOnlyVariableThunk/ReadOnlyVariable2OnReadOnlyVariableThunk.inf
251 EdkCompatibilityPkg/Compatibility/ReadOnlyVariableOnReadOnlyVariable2Thunk/ReadOnlyVariableOnReadOnlyVariable2Thunk.inf
252 EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.inf
253 EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.inf
qhuang84fe3ce82009-02-23 03:26:37 +0000254 EdkCompatibilityPkg/Compatibility/PrintThunk/PrintThunk.inf
xli24650efd72009-11-25 08:33:31 +0000255 EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/LegacyRegion2OnLegacyRegionThunk.inf
klu2cde64252009-12-30 06:42:12 +0000256 EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/PiSmbiosRecordOnDataHubSmbiosRecordThunk.inf
xli2454bd8072009-12-07 03:12:13 +0000257 EdkCompatibilityPkg/Compatibility/CpuIo2OnCpuIoThunk/CpuIo2OnCpuIoThunk.inf
jchen20ba9978c2010-01-26 01:15:26 +0000258 EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/BootScriptSaveOnS3SaveStateThunk.inf
qwang1216bdc872008-05-21 07:58:18 +0000259
qwang12092d6a12009-02-01 09:39:43 +0000260 #
261 # User needs to turn on the compatibility switches for VFRC and EDK II build tool for Framework HII modules
262 # following the example shown below:
263 #
264 # $SomePackage/FrameworkHiiModule/FrameworkHiiModule.inf {
265 # <BuildOptions>
266 # *_*_*_VFR_FLAGS = -c # for VFR files in the module
267 # *_*_*_BUILD_FLAGS = -c # for UNI files in the module
268 # }
269
270
qwang12d33ef4e2008-06-19 07:05:44 +0000271[Components.IA32,Components.X64,Components.IPF]
qwang126d8f3e52008-11-18 13:55:17 +0000272 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
qwang1298366112008-11-18 10:03:39 +0000273 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf
qwang12d33ef4e2008-06-19 07:05:44 +0000274
jljusten3596bda2008-03-17 20:45:19 +0000275[Components.IA32,Components.X64]
qwang1298366112008-11-18 10:03:39 +0000276 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000277 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
qwang1268000622008-11-29 09:09:03 +0000278 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/DxePerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
279 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
xli248a1dc102009-12-16 02:51:09 +0000280 EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.inf
rsun39e620712009-12-31 08:42:28 +0000281 EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/SmmBaseOnSmmBase2Thunk.inf
282 EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf
283 EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/SmmAccess2OnSmmAccessThunk.inf
284 EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.inf
lgao40cf8c202010-03-27 05:21:43 +0000285 EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.inf
qwang12958536b2008-01-24 07:32:23 +0000286
287[Components.IPF]
qwang1281c56b82008-12-03 13:50:50 +0000288 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
jljustene84217e2008-03-17 22:01:12 +0000289 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
290 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf
qwang12958536b2008-01-24 07:32:23 +0000291
lgao46bfbb5f2010-02-24 00:21:16 +0000292[Libraries]
qwang12ba428fb2008-11-29 07:38:29 +0000293 #
294 # Libraries common to PEI and DXE
295 #
296 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
297 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
298 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
299 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib_Edk2.inf
300 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib_Edk2.inf
qwang1281c56b82008-12-03 13:50:50 +0000301 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
qwang12ba428fb2008-11-29 07:38:29 +0000302 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib_Edk2.inf
303 EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
304 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
305 #
306 # PEI libraries
307 #
308 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
309 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
310 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf
311 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
312 #
313 # DXE libraries
314 #
315 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
316 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
317 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
318 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
qwang1281c56b82008-12-03 13:50:50 +0000319 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib_Edk2.inf
qwang12ba428fb2008-11-29 07:38:29 +0000320 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib_Edk2.inf
321 EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
322 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
323 EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf
324 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
325 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
326 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
327 #
328 # Print/Graphics Library consume SetupBrowser Print Protocol
329 #
330 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
331 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
332 #
333 # GlueLib
334 #
335 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf
336 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf
337 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf
338 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf
339 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
340 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
341 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
342 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
343 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf
344 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf
345 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf
346 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
347 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
348 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf
349 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.inf
350 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
351 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
352 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf
353 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
354 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
355 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
356 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf
357 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf
358 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
359 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
360 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/PeiSmbusLib.inf
361 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf
362 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
363 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf
364 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
365 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf
366 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf
367 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
368 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
lgao4b56111f2010-03-15 09:24:26 +0000369 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/SmmRuntimeDxeReportStatusCodeLib.inf
qwang12ba428fb2008-11-29 07:38:29 +0000370 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf
371 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf
372 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf
373 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf
374 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf
375 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
376 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf
377 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/DxeSmbusLib.inf
qwang12ba428fb2008-11-29 07:38:29 +0000378
379 EdkCompatibilityPkg/Foundation/Library/Thunk16/Thunk16Lib_Edk2.inf
380
381[Libraries.IA32,Libraries.X64,Libraries.IPF]
382 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
383 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf
384
385[Libraries.IA32,Libraries.X64]
386 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib_Edk2.inf
387 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
qwang1268000622008-11-29 09:09:03 +0000388 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/DxePerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
389 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
qwang12ba428fb2008-11-29 07:38:29 +0000390
391[Libraries.IPF]
qwang1281c56b82008-12-03 13:50:50 +0000392 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
qwang12ba428fb2008-11-29 07:38:29 +0000393 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
394 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf
395