mirror of https://github.com/acidanthera/audk.git
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:
parent
2983130563
commit
3f05834bae
|
@ -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
|
||||||
|
|
|
@ -72,4 +72,4 @@
|
||||||
gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID
|
gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID
|
||||||
|
|
||||||
[Ppis]
|
[Ppis]
|
||||||
gPeiCapsulePpiGuid ## CONSUMES
|
gEfiPeiCapsulePpiGuid ## CONSUMES
|
||||||
|
|
Loading…
Reference in New Issue