1) Add an example in EdkCompatibilityPkg.dsc to show how the compatibility build switch is turned on for Framework HII modules.

2) Add the incompatibility changes in ChangeLog.txt.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7384 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2009-02-01 09:39:43 +00:00
parent 59a7e4f4bd
commit 092d6a181f
2 changed files with 36 additions and 1 deletions

View File

@ -107,3 +107,27 @@ EDK_r7286: Compatible: qhuang8
Possible impact: Possible impact:
None. None.
EDK_r7342: No-Compatible: qwang12
Rename module names in EdkCompatibility/Compatibility directory from ***To*** to ***On***.
For example, Fv2ToFvThunk is renamed to Fv2OnFvThunk.
AAAOnBBB means this module produce AAA Protocol/PPI based on BBB. This change improves the readability and
help developers to select correct thunk module to use.
Code Changes:
These module directory and module INF file name is updated:
DeviceIoToPciRootBridgeIoThunk -> DeviceIoToPciRootBridgeIoThunk
FrameworkHiiToUefiHiiThunk -> FrameworkHiiToUefiHiiThunk
Fv2ToFvThunk -> Fv2ToFvThunk
FvFileLoaderToLoadFileThunk -> FvFileLoaderToLoadFileThunk
FvToFv2Thunk -> FvToFv2Thunk
PciCfg2ToPciCfgThunk -> PciCfg2ToPciCfgThunk
PciCfgToPciCfg2Thunk -> PciCfgToPciCfg2Thunk
ReadOnlyVariable2ToReadOnlyVariableThunk -> ReadOnlyVariable2ToReadOnlyVariableThunk
ReadOnlyVariableToReadOnlyVariable2Thunk -> ReadOnlyVariableToReadOnlyVariable2Thunk
Uc2ToUcThunk -> Uc2ToUcThunk
UcToUc2Thunk -> UcToUc2Thunk
Possible Impact:
All DSC and FDF files that reference these module should be updated to use the new module directory
and file names.

View File

@ -224,6 +224,17 @@ define GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S
EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.inf EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.inf
EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.inf EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.inf
#
# User needs to turn on the compatibility switches for VFRC and EDK II build tool for Framework HII modules
# following the example shown below:
#
# $SomePackage/FrameworkHiiModule/FrameworkHiiModule.inf {
# <BuildOptions>
# *_*_*_VFR_FLAGS = -c # for VFR files in the module
# *_*_*_BUILD_FLAGS = -c # for UNI files in the module
# }
[Components.IA32,Components.X64,Components.IPF] [Components.IA32,Components.X64,Components.IPF]
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf