IntelFspWrapperPkg: Update PeiFspHobProcessLibSample to consume PI CapsulePpi

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
This commit is contained in:
Liming Gao 2015-05-08 07:44:30 +00:00 committed by lgao4
parent 2983130563
commit 3f05834bae
2 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ FspHobProcessForMemoryResource (
BOOLEAN FoundFspMemHob; BOOLEAN FoundFspMemHob;
EFI_STATUS Status; EFI_STATUS Status;
EFI_BOOT_MODE BootMode; EFI_BOOT_MODE BootMode;
PEI_CAPSULE_PPI *Capsule; EFI_PEI_CAPSULE_PPI *Capsule;
VOID *CapsuleBuffer; VOID *CapsuleBuffer;
UINTN CapsuleBufferLength; UINTN CapsuleBufferLength;
UINT64 RequiredMemSize; UINT64 RequiredMemSize;
@ -271,7 +271,7 @@ FspHobProcessForMemoryResource (
CapsuleBufferLength = 0; CapsuleBufferLength = 0;
if (BootMode == BOOT_ON_FLASH_UPDATE) { if (BootMode == BOOT_ON_FLASH_UPDATE) {
Status = PeiServicesLocatePpi ( Status = PeiServicesLocatePpi (
&gPeiCapsulePpiGuid, &gEfiPeiCapsulePpiGuid,
0, 0,
NULL, NULL,
(VOID **) &Capsule (VOID **) &Capsule

View File

@ -72,4 +72,4 @@
gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID
[Ppis] [Ppis]
gPeiCapsulePpiGuid ## CONSUMES gEfiPeiCapsulePpiGuid ## CONSUMES