From 3f05834bae1dd30ffda5812564566c385fff86e7 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Fri, 8 May 2015 07:44:30 +0000 Subject: IntelFspWrapperPkg: Update PeiFspHobProcessLibSample to consume PI CapsulePpi Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Reviewed-by: Star Zeng git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17376 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c | 4 ++-- .../Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'IntelFspWrapperPkg/Library') diff --git a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c index bad6111778..82af87fea7 100644 --- a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c +++ b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c @@ -155,7 +155,7 @@ FspHobProcessForMemoryResource ( BOOLEAN FoundFspMemHob; EFI_STATUS Status; EFI_BOOT_MODE BootMode; - PEI_CAPSULE_PPI *Capsule; + EFI_PEI_CAPSULE_PPI *Capsule; VOID *CapsuleBuffer; UINTN CapsuleBufferLength; UINT64 RequiredMemSize; @@ -271,7 +271,7 @@ FspHobProcessForMemoryResource ( CapsuleBufferLength = 0; if (BootMode == BOOT_ON_FLASH_UPDATE) { Status = PeiServicesLocatePpi ( - &gPeiCapsulePpiGuid, + &gEfiPeiCapsulePpiGuid, 0, NULL, (VOID **) &Capsule diff --git a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf index 720d81f4f6..12f922c0d9 100644 --- a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf +++ b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf @@ -72,4 +72,4 @@ gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID [Ppis] - gPeiCapsulePpiGuid ## CONSUMES + gEfiPeiCapsulePpiGuid ## CONSUMES -- cgit v1.2.3