Revision: 17374
          http://sourceforge.net/p/edk2/code/17374
Author:   lgao4
Date:     2015-05-08 07:43:35 +0000 (Fri, 08 May 2015)
Log Message:
-----------
MdeModulePkg: Update CapsulePei to consume PI1.4 CapsulePpi

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <[email protected]>
Reviewed-by: Star Zeng <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
    trunk/edk2/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c

Modified: trunk/edk2/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf 2015-05-08 
07:42:52 UTC (rev 17373)
+++ trunk/edk2/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf 2015-05-08 
07:43:35 UTC (rev 17374)
@@ -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

Modified: trunk/edk2/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c  2015-05-08 
07:42:52 UTC (rev 17373)
+++ trunk/edk2/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c  2015-05-08 
07:43:35 UTC (rev 17374)
@@ -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 @@
   return EFI_SUCCESS;
 }
 
-CONST PEI_CAPSULE_PPI        mCapsulePpi = {
+CONST EFI_PEI_CAPSULE_PPI        mCapsulePpi = {
   CapsuleCoalesce,
   CheckCapsuleUpdate,
   CreateState
@@ -1061,8 +1061,8 @@
 
 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
 };
 
 /**


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to