From 092d6a181f02e09e4d6a3d4df2b0ab1c22bca3d6 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Sun, 1 Feb 2009 09:39:43 +0000 Subject: 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 --- EdkCompatibilityPkg/ChangeLog.txt | 26 +++++++++++++++++++++++++- EdkCompatibilityPkg/EdkCompatibilityPkg.dsc | 11 +++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/EdkCompatibilityPkg/ChangeLog.txt b/EdkCompatibilityPkg/ChangeLog.txt index 9eac2dce56..f32fa815b4 100644 --- a/EdkCompatibilityPkg/ChangeLog.txt +++ b/EdkCompatibilityPkg/ChangeLog.txt @@ -106,4 +106,28 @@ EDK_r7286: Compatible: qhuang8 2) Add MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH device path type. Possible impact: - None. \ No newline at end of file + 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. \ No newline at end of file diff --git a/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc b/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc index d43b78adc4..12ce4b5be5 100644 --- a/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc +++ b/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc @@ -224,6 +224,17 @@ define GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.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 { + # + # *_*_*_VFR_FLAGS = -c # for VFR files in the module + # *_*_*_BUILD_FLAGS = -c # for UNI files in the module + # } + + [Components.IA32,Components.X64,Components.IPF] EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf -- cgit v1.2.3