IntelFspWrapperPkg: Update PeiFspHobProcessLibSample to consume PI CapsulePpi
authorLiming Gao <liming.gao@intel.com>
Fri, 8 May 2015 07:44:30 +0000 (07:44 +0000)
committerlgao4 <lgao4@Edk2>
Fri, 8 May 2015 07:44:30 +0000 (07:44 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17376 6f19259b-4bc3-4df7-8a09-765794883524

IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c
IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf

index bad6111..82af87f 100644 (file)
@@ -155,7 +155,7 @@ FspHobProcessForMemoryResource (
   BOOLEAN              FoundFspMemHob;\r
   EFI_STATUS           Status;\r
   EFI_BOOT_MODE        BootMode;\r
-  PEI_CAPSULE_PPI      *Capsule;\r
+  EFI_PEI_CAPSULE_PPI  *Capsule;\r
   VOID                 *CapsuleBuffer;\r
   UINTN                CapsuleBufferLength;\r
   UINT64               RequiredMemSize;\r
@@ -271,7 +271,7 @@ FspHobProcessForMemoryResource (
     CapsuleBufferLength = 0;\r
     if (BootMode == BOOT_ON_FLASH_UPDATE) {\r
       Status = PeiServicesLocatePpi (\r
-                 &gPeiCapsulePpiGuid,\r
+                 &gEfiPeiCapsulePpiGuid,\r
                  0,\r
                  NULL,\r
                  (VOID **) &Capsule\r
index 720d81f..12f922c 100644 (file)
@@ -72,4 +72,4 @@
   gEfiMemoryTypeInformationGuid                           ## CONSUMES ## GUID\r
 \r
 [Ppis]\r
-  gPeiCapsulePpiGuid                                      ## CONSUMES\r
+  gEfiPeiCapsulePpiGuid                                   ## CONSUMES\r