]> git.proxmox.com Git - mirror_edk2.git/commitdiff
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 bad61117784c0bf5c3d73946a451bae0681be8ab..82af87fea7a7c27da824b00bb9667b41cf47974f 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 720d81f4f6445797195025c3a0699023eecc43b6..12f922c0d965ad096a5c4d37f7285ddc36685c2f 100644 (file)
@@ -72,4 +72,4 @@
   gEfiMemoryTypeInformationGuid                           ## CONSUMES ## GUID\r
 \r
 [Ppis]\r
-  gPeiCapsulePpiGuid                                      ## CONSUMES\r
+  gEfiPeiCapsulePpiGuid                                   ## CONSUMES\r