+EDK_4067: Non-Compatible: qwang12\r
+ Class_PIEnable[1]: Add PeiPiLib library class and replace PiLib with DxePiLib library class.\r
+\r
+ Code Change :\r
+ 1) Change MdePkg/Include/Library/PiLib.h to MdePkg/Include/Library/DxePiLib.h. DxePiLib is mainly used\r
+ for modules in DXE phase. Add a DxePiLib.h library instance at MdePkg/Library/DxePiLib/DxePiLib.inf.\r
+ 2) Add MdePkg/Include/Library/PeiPiLib.h. PeiPiLib is mainly used by modules in PEI phase. \r
+ Add a DxePiLib.h library instance at MdePkg/Library/PeiPiLib/PeiPiLib.inf.\r
+ 3) Rename API in PeiPiLib.h from PeiPiLibBuildPiFvInfoPpi to PiLibInstallFvInfoPpi.\r
+ 4) Rename APIs originally in PiLib.h with new names defined in DxePiLib.h:\r
+ 4.1) GetSectionFrom*Fv functions are changed to PiLibGetSectionFrom*Fv to reduce possibility of name collision.\r
+ 4.2) Remove API named ImageHandleToFvHandle and GetSectionFromFvFile \r
+\r
+\r
+ Possible Impacts:\r
+\r
+ 1) Platform modules that reference PeiPiLibBuildPiFvInfoPpi and GetSectionFrom*Fv should reference the new\r
+ names defined.\r
+ 2) Platform DSC file that specifying library instance for PiLib should be updated to add one line (a example \r
+ is given below):\r
+ [LibraryClasses.common.DXE_DRIVER]\r
+ ...\r
+ DxePiLib|MdePkg/Library/DxePiLib/DxePiLib.inf\r
+ ...\r
+ 3) Platform DSC file including modules that make use of API from PeiPiLib.h should add the following line (a example \r
+ is given below):\r
+ [LibraryClasses.common.PEIM]\r
+ ...\r
+ PeiPiLib|MdePkg/Library/PeiPiLib/PeiPiLib.inf\r
+ ...\r
+ \r
+\r