blob: 97dbd4d9a612bfa5a61d530d9f5f5cb44345c5f0 [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
rsun39166e5f2010-08-23 06:55:48 +000071 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
xli24768e2a92009-12-15 03:00:49 +000072
qwang12d33ef4e2008-06-19 07:05:44 +000073[LibraryClasses.common.PEIM]
qwang12d33ef4e2008-06-19 07:05:44 +000074 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
75
mdkinney75196b02010-02-14 06:29:47 +000076[LibraryClasses.common.DXE_DRIVER,LibraryClasses.common.DXE_RUNTIME_DRIVER]
xli245a6f1222008-10-25 16:31:23 +000077 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
qwang1216bdc872008-05-21 07:58:18 +000078
rsun39e620712009-12-31 08:42:28 +000079[LibraryClasses.IA32.DXE_SMM_DRIVER,LibraryClasses.X64.DXE_SMM_DRIVER]
80 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
81 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
mdkinney75196b02010-02-14 06:29:47 +000082 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
rsun39e620712009-12-31 08:42:28 +000083
qwang12958536b2008-01-24 07:32:23 +000084[BuildOptions]
qhuang87794bac2008-03-28 11:50:37 +000085 GCC:*_*_IA32_CC_FLAGS = -DEFI32 $(GCC_MACRO)
qhuang88a7bae22009-09-22 09:55:30 +000086 GCC:*_*_IA32_ASM_FLAGS =
qhuang87794bac2008-03-28 11:50:37 +000087 GCC:*_*_IA32_VFRPP_FLAGS = -DEFI32 $(GCC_MACRO)
88 GCC:*_*_IA32_APP_FLAGS = -DEFI32 $(GCC_MACRO)
89 GCC:*_*_IA32_PP_FLAGS = -DEFI32 $(GCC_MACRO)
90
91 GCC:*_*_X64_CC_FLAGS = -DEFIX64 $(GCC_MACRO)
qhuang88a7bae22009-09-22 09:55:30 +000092 GCC:*_*_X64_ASM_FLAGS =
qhuang87794bac2008-03-28 11:50:37 +000093 GCC:*_*_X64_VFRPP_FLAGS = -DEFIX64 $(GCC_MACRO)
94 GCC:*_*_X64_APP_FLAGS = -DEFIX64 $(GCC_MACRO)
95 GCC:*_*_X64_PP_FLAGS = -DEFIX64 $(GCC_MACRO)
96
97 GCC:*_*_IPF_CC_FLAGS = -DEFI64 $(GCC_MACRO)
qhuang864258682008-03-28 12:28:06 +000098 GCC:*_*_IPF_ASM_FLAGS =
qhuang87794bac2008-03-28 11:50:37 +000099 GCC:*_*_IPF_VFRPP_FLAGS = -DEFI64 $(GCC_MACRO)
100 GCC:*_*_IPF_APP_FLAGS = -DEFI64 $(GCC_MACRO)
101 GCC:*_*_IPF_PP_FLAGS = -DEFI64 $(GCC_MACRO)
102
qwang12958536b2008-01-24 07:32:23 +0000103
jljustend7298952008-04-05 00:08:21 +0000104 INTEL:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
105 INTEL:*_*_IA32_ASM_FLAGS = /DEFI32
106 INTEL:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)
107 INTEL:*_*_IA32_APP_FLAGS = /D EFI32 $(MSFT_MACRO)
108 INTEL:*_*_IA32_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
jljusten0da6ca42008-04-04 23:39:06 +0000109
qwang12d33ef4e2008-06-19 07:05:44 +0000110 INTEL:*_*_EBC_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
111 INTEL:*_*_EBC_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
112
jljustend7298952008-04-05 00:08:21 +0000113 INTEL:*_*_X64_CC_FLAGS = /D EFIX64 $(MSFT_MACRO)
114 INTEL:*_*_X64_ASM_FLAGS = /DEFIX64
115 INTEL:*_*_X64_VFRPP_FLAGS = /D EFIX64 $(MSFT_MACRO)
116 INTEL:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)
117 INTEL:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)
jljusten0da6ca42008-04-04 23:39:06 +0000118
jljustend7298952008-04-05 00:08:21 +0000119 INTEL:*_*_IPF_CC_FLAGS = /D EFI64 $(MSFT_MACRO)
120 INTEL:*_*_IPF_ASM_FLAGS =
121 INTEL:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)
122 INTEL:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)
123 INTEL:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)
jljusten0da6ca42008-04-04 23:39:06 +0000124
125
126 MSFT:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
127 MSFT:*_*_IA32_ASM_FLAGS = /DEFI32
128 MSFT:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)
129 MSFT:*_*_IA32_APP_FLAGS = /D EFI32 $(MSFT_MACRO)
130 MSFT:*_*_IA32_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
131
132 MSFT:*_*_X64_CC_FLAGS = /D EFIX64 $(MSFT_MACRO)
133 MSFT:*_*_X64_ASM_FLAGS = /DEFIX64
134 MSFT:*_*_X64_VFRPP_FLAGS = /D EFIX64 $(MSFT_MACRO)
135 MSFT:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)
136 MSFT:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)
137
lgao4152f6a02010-01-09 07:37:42 +0000138 MSFT:*_*_IPF_CC_FLAGS = /Od /Os /D EFI64 $(MSFT_MACRO)
jljusten0da6ca42008-04-04 23:39:06 +0000139 MSFT:*_*_IPF_ASM_FLAGS =
140 MSFT:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)
141 MSFT:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)
142 MSFT:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)
143
xli24b2ba1c12009-02-10 08:55:56 +0000144###################################################################################################
145#
146# Components Section - list of the modules and components that will be processed by compilation
147# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
148#
149# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
150# into firmware volume images. This section is just a list of modules to compile from
151# source into UEFI-compliant binaries.
152# It is the FDF file that contains information on combining binary files into firmware
153# volume images, whose concept is beyond UEFI and is described in PI specification.
154# Binary modules do not need to be listed in this section, as they should be
155# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
156# Logo (Logo.bmp), and etc.
157# There may also be modules listed in this section that are not required in the FDF file,
158# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
159# generated for it, but the binary will not be put into any firmware volume.
160#
161###################################################################################################
qwang12958536b2008-01-24 07:32:23 +0000162
lgao46bfbb5f2010-02-24 00:21:16 +0000163[Components]
qwang12958536b2008-01-24 07:32:23 +0000164
165# All Libraries Instances listed in Alphabetic Order
jljustene84217e2008-03-17 22:01:12 +0000166 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
167 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
168 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
169 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
170 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
171 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
172 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
qwang12958536b2008-01-24 07:32:23 +0000173
qwang12ba428fb2008-11-29 07:38:29 +0000174 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000175 EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
qwang1281c56b82008-12-03 13:50:50 +0000176 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000177 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
178 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
179 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
180 EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
181 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
182 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
183 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
184 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
185 EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf
186 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
187 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf
jljustene84217e2008-03-17 22:01:12 +0000188 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf
189 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf
190 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf
191 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf
192 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf
193 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
194 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
195 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf
196 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
197 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
198 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf
199 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.inf
200 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
201 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf
202 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf
203 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
qwang12958536b2008-01-24 07:32:23 +0000204
jljustene84217e2008-03-17 22:01:12 +0000205 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
lgao4b56111f2010-03-15 09:24:26 +0000206 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/SmmRuntimeDxeReportStatusCodeLib.inf
jljustene84217e2008-03-17 22:01:12 +0000207 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf
208 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/DxeSmbusLib.inf
209 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf
210 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf
211 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
212 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf
213 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf
214 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
jljustene84217e2008-03-17 22:01:12 +0000215 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
216 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
217 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf
218 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
219 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/PeiSmbusLib.inf
220 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
221 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf
222 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf
223 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf
224 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
qwang1298366112008-11-18 10:03:39 +0000225 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000226 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
qwang1298366112008-11-18 10:03:39 +0000227 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib_Edk2.inf
228 EdkCompatibilityPkg/Foundation/Library/Thunk16/Thunk16Lib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000229 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
230 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
231 EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.inf
232 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.inf
233 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.inf
234 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtLedStatusCode/RtLedStatusCode.inf
235 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.inf
236 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPlatformStatusCode/Nt32/RtPlatformStatusCode.inf
237 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.inf
238 EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/EdkNt32PpiLib.inf
239 EdkCompatibilityPkg/Sample/Platform/Nt32/Protocol/EdkNt32ProtocolLib.inf
qwang12958536b2008-01-24 07:32:23 +0000240
qwang1216bdc872008-05-21 07:58:18 +0000241 #
242 # Modules in Compatibility Directory
243 #
qwang12f67cc2c2009-01-21 10:21:50 +0000244 EdkCompatibilityPkg/Compatibility/DeviceIoOnPciRootBridgeIoThunk/DeviceIoOnPciRootBridgeIoThunk.inf
245 EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/FrameworkHiiOnUefiHiiThunk.inf
246 EdkCompatibilityPkg/Compatibility/FvFileLoaderOnLoadFileThunk/FvFileLoaderOnLoadFileThunk.inf
247 EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/FvOnFv2Thunk.inf
248 EdkCompatibilityPkg/Compatibility/Fv2OnFvThunk/Fv2OnFvThunk.inf
249 EdkCompatibilityPkg/Compatibility/PciCfg2OnPciCfgThunk/PciCfg2OnPciCfgThunk.inf
250 EdkCompatibilityPkg/Compatibility/PciCfgOnPciCfg2Thunk/PciCfgOnPciCfg2Thunk.inf
251 EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2OnReadOnlyVariableThunk/ReadOnlyVariable2OnReadOnlyVariableThunk.inf
252 EdkCompatibilityPkg/Compatibility/ReadOnlyVariableOnReadOnlyVariable2Thunk/ReadOnlyVariableOnReadOnlyVariable2Thunk.inf
253 EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.inf
254 EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.inf
qhuang84fe3ce82009-02-23 03:26:37 +0000255 EdkCompatibilityPkg/Compatibility/PrintThunk/PrintThunk.inf
xli24650efd72009-11-25 08:33:31 +0000256 EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/LegacyRegion2OnLegacyRegionThunk.inf
klu2cde64252009-12-30 06:42:12 +0000257 EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/PiSmbiosRecordOnDataHubSmbiosRecordThunk.inf
xli2454bd8072009-12-07 03:12:13 +0000258 EdkCompatibilityPkg/Compatibility/CpuIo2OnCpuIoThunk/CpuIo2OnCpuIoThunk.inf
jchen20ba9978c2010-01-26 01:15:26 +0000259 EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/BootScriptSaveOnS3SaveStateThunk.inf
qwang1216bdc872008-05-21 07:58:18 +0000260
qwang12092d6a12009-02-01 09:39:43 +0000261 #
262 # User needs to turn on the compatibility switches for VFRC and EDK II build tool for Framework HII modules
263 # following the example shown below:
264 #
265 # $SomePackage/FrameworkHiiModule/FrameworkHiiModule.inf {
266 # <BuildOptions>
267 # *_*_*_VFR_FLAGS = -c # for VFR files in the module
268 # *_*_*_BUILD_FLAGS = -c # for UNI files in the module
269 # }
270
271
qwang12d33ef4e2008-06-19 07:05:44 +0000272[Components.IA32,Components.X64,Components.IPF]
qwang126d8f3e52008-11-18 13:55:17 +0000273 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
qwang1298366112008-11-18 10:03:39 +0000274 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf
qwang12d33ef4e2008-06-19 07:05:44 +0000275
jljusten3596bda2008-03-17 20:45:19 +0000276[Components.IA32,Components.X64]
qwang1298366112008-11-18 10:03:39 +0000277 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib_Edk2.inf
jljustene84217e2008-03-17 22:01:12 +0000278 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
qwang1268000622008-11-29 09:09:03 +0000279 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/DxePerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
280 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
xli248a1dc102009-12-16 02:51:09 +0000281 EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.inf
rsun39e620712009-12-31 08:42:28 +0000282 EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/SmmBaseOnSmmBase2Thunk.inf
283 EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf
284 EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/SmmAccess2OnSmmAccessThunk.inf
285 EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.inf
lgao40cf8c202010-03-27 05:21:43 +0000286 EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.inf
qwang12958536b2008-01-24 07:32:23 +0000287
288[Components.IPF]
qwang1281c56b82008-12-03 13:50:50 +0000289 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
jljustene84217e2008-03-17 22:01:12 +0000290 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
291 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf
qwang12958536b2008-01-24 07:32:23 +0000292
lgao46bfbb5f2010-02-24 00:21:16 +0000293[Libraries]
qwang12ba428fb2008-11-29 07:38:29 +0000294 #
295 # Libraries common to PEI and DXE
296 #
297 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
298 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
299 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
300 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib_Edk2.inf
301 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib_Edk2.inf
qwang1281c56b82008-12-03 13:50:50 +0000302 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
qwang12ba428fb2008-11-29 07:38:29 +0000303 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib_Edk2.inf
304 EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
305 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
306 #
307 # PEI libraries
308 #
309 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
310 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
311 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf
312 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
313 #
314 # DXE libraries
315 #
316 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
317 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
318 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
319 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
qwang1281c56b82008-12-03 13:50:50 +0000320 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib_Edk2.inf
qwang12ba428fb2008-11-29 07:38:29 +0000321 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib_Edk2.inf
322 EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
323 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
324 EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf
325 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
326 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
327 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
328 #
329 # Print/Graphics Library consume SetupBrowser Print Protocol
330 #
331 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
332 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
333 #
334 # GlueLib
335 #
336 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf
337 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf
338 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf
339 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf
340 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
341 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
342 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
343 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
344 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf
345 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf
346 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf
347 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
348 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
349 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf
350 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.inf
351 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
352 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
353 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf
354 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
355 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
356 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
357 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf
358 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf
359 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
360 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
361 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/PeiSmbusLib.inf
362 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf
363 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
364 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf
365 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
366 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf
367 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf
368 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
369 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
lgao4b56111f2010-03-15 09:24:26 +0000370 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/SmmRuntimeDxeReportStatusCodeLib.inf
qwang12ba428fb2008-11-29 07:38:29 +0000371 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf
372 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf
373 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf
374 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf
375 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf
376 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
377 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf
378 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/DxeSmbusLib.inf
qwang12ba428fb2008-11-29 07:38:29 +0000379
380 EdkCompatibilityPkg/Foundation/Library/Thunk16/Thunk16Lib_Edk2.inf
381
382[Libraries.IA32,Libraries.X64,Libraries.IPF]
383 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
384 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf
385
386[Libraries.IA32,Libraries.X64]
387 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib_Edk2.inf
388 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
qwang1268000622008-11-29 09:09:03 +0000389 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/DxePerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
390 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
qwang12ba428fb2008-11-29 07:38:29 +0000391
392[Libraries.IPF]
qwang1281c56b82008-12-03 13:50:50 +0000393 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
qwang12ba428fb2008-11-29 07:38:29 +0000394 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
395 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf
396