summaryrefslogtreecommitdiffstats
path: root/IntelFspWrapperPkg/Library
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2015-05-08 07:44:30 +0000
committerlgao4 <lgao4@Edk2>2015-05-08 07:44:30 +0000
commit3f05834bae1dd30ffda5812564566c385fff86e7 (patch)
treecb6cb681f9e6f9632fd2d72728644adfcace7998 /IntelFspWrapperPkg/Library
parent2983130563f16758e5073232762ad8a47ba63a78 (diff)
downloadedk2-3f05834bae1dd30ffda5812564566c385fff86e7.tar.gz
edk2-3f05834bae1dd30ffda5812564566c385fff86e7.tar.bz2
edk2-3f05834bae1dd30ffda5812564566c385fff86e7.zip
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
Diffstat (limited to 'IntelFspWrapperPkg/Library')
-rw-r--r--IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c4
-rw-r--r--IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf2
2 files changed, 3 insertions, 3 deletions
diff --git a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c
index bad6111778..82af87fea7 100644
--- a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c
+++ b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/FspHobProcessLibSample.c
@@ -155,7 +155,7 @@ FspHobProcessForMemoryResource (
BOOLEAN FoundFspMemHob;
EFI_STATUS Status;
EFI_BOOT_MODE BootMode;
- PEI_CAPSULE_PPI *Capsule;
+ EFI_PEI_CAPSULE_PPI *Capsule;
VOID *CapsuleBuffer;
UINTN CapsuleBufferLength;
UINT64 RequiredMemSize;
@@ -271,7 +271,7 @@ FspHobProcessForMemoryResource (
CapsuleBufferLength = 0;
if (BootMode == BOOT_ON_FLASH_UPDATE) {
Status = PeiServicesLocatePpi (
- &gPeiCapsulePpiGuid,
+ &gEfiPeiCapsulePpiGuid,
0,
NULL,
(VOID **) &Capsule
diff --git a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf
index 720d81f4f6..12f922c0d9 100644
--- a/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf
+++ b/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf
@@ -72,4 +72,4 @@
gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID
[Ppis]
- gPeiCapsulePpiGuid ## CONSUMES
+ gEfiPeiCapsulePpiGuid ## CONSUMES