MdeModulePkg: Update CapsulePei to consume PI1.4 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@17374 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Liming Gao 2015-05-08 07:43:35 +00:00 committed by lgao4
parent 919294003a
commit 09d4699523
2 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
# This external input must be validated carefully to avoid security issue like # This external input must be validated carefully to avoid security issue like
# buffer overflow, integer overflow. # buffer overflow, integer overflow.
# #
# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions # are licensed and made available under the terms and conditions
@ -67,7 +67,7 @@
[Ppis] [Ppis]
gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
gPeiCapsulePpiGuid ## PRODUCES gEfiPeiCapsulePpiGuid ## PRODUCES
[Ppis.IA32] [Ppis.IA32]
gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES

View File

@ -1,7 +1,7 @@
/** @file /** @file
Capsule update PEIM for UEFI2.0 Capsule update PEIM for UEFI2.0
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions are licensed and made available under the terms and conditions
@ -1053,7 +1053,7 @@ CreateState (
return EFI_SUCCESS; return EFI_SUCCESS;
} }
CONST PEI_CAPSULE_PPI mCapsulePpi = { CONST EFI_PEI_CAPSULE_PPI mCapsulePpi = {
CapsuleCoalesce, CapsuleCoalesce,
CheckCapsuleUpdate, CheckCapsuleUpdate,
CreateState CreateState
@ -1061,8 +1061,8 @@ CONST PEI_CAPSULE_PPI mCapsulePpi = {
CONST EFI_PEI_PPI_DESCRIPTOR mUefiPpiListCapsule = { CONST EFI_PEI_PPI_DESCRIPTOR mUefiPpiListCapsule = {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST), (EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gPeiCapsulePpiGuid, &gEfiPeiCapsulePpiGuid,
(PEI_CAPSULE_PPI *) &mCapsulePpi (EFI_PEI_CAPSULE_PPI *) &mCapsulePpi
}; };
/** /**