diff options
author | Liming Gao <liming.gao@intel.com> | 2015-05-08 07:43:35 +0000 |
---|---|---|
committer | lgao4 <lgao4@Edk2> | 2015-05-08 07:43:35 +0000 |
commit | 09d469952352f53df741a903a3f154360f38b8ca (patch) | |
tree | ab8fa4b34251fea1e470225e7fb95ff31a7ec4af /MdeModulePkg/Universal/CapsulePei | |
parent | 919294003a75b05e496982035e44137cb9aff8f4 (diff) | |
download | edk2-platforms-09d469952352f53df741a903a3f154360f38b8ca.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal/CapsulePei')
-rw-r--r-- | MdeModulePkg/Universal/CapsulePei/CapsulePei.inf | 4 | ||||
-rw-r--r-- | MdeModulePkg/Universal/CapsulePei/UefiCapsule.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf b/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf index 2a0fa4b322..d7aa37186f 100644 --- a/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf +++ b/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf @@ -6,7 +6,7 @@ # This external input must be validated carefully to avoid security issue like
# 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
# are licensed and made available under the terms and conditions
@@ -67,7 +67,7 @@ [Ppis]
gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
- gPeiCapsulePpiGuid ## PRODUCES
+ gEfiPeiCapsulePpiGuid ## PRODUCES
[Ppis.IA32]
gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES
diff --git a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c index 23bf2026d4..6b934c9e3c 100644 --- a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c +++ b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c @@ -1,7 +1,7 @@ /** @file
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
are licensed and made available under the terms and conditions
@@ -1053,7 +1053,7 @@ CreateState ( return EFI_SUCCESS;
}
-CONST PEI_CAPSULE_PPI mCapsulePpi = {
+CONST EFI_PEI_CAPSULE_PPI mCapsulePpi = {
CapsuleCoalesce,
CheckCapsuleUpdate,
CreateState
@@ -1061,8 +1061,8 @@ CONST PEI_CAPSULE_PPI mCapsulePpi = { CONST EFI_PEI_PPI_DESCRIPTOR mUefiPpiListCapsule = {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
- &gPeiCapsulePpiGuid,
- (PEI_CAPSULE_PPI *) &mCapsulePpi
+ &gEfiPeiCapsulePpiGuid,
+ (EFI_PEI_CAPSULE_PPI *) &mCapsulePpi
};
/**
|