public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] SignedCapsulePkg: Update RecoveryModuleLoadPei to report the correct FvInfo
@ 2017-03-28  6:11 Liming Gao
  2017-03-28 12:29 ` Yao, Jiewen
  0 siblings, 1 reply; 2+ messages in thread
From: Liming Gao @ 2017-03-28  6:11 UTC (permalink / raw)
  To: edk2-devel; +Cc: Jiewen Yao

Update logic to install FvInfo PPI with its file system guid.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
 .../Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c b/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c
index c8c5ba0..c22e3a4 100644
--- a/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c
+++ b/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c
@@ -9,7 +9,7 @@
   ProcessRecoveryCapsule(), ProcessFmpCapsuleImage(), ProcessRecoveryImage(),
   ValidateFmpCapsule() will receive untrusted input and do basic validation.
 
-Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD License
 which accompanies this distribution.  The full text of the license may be found at
@@ -467,7 +467,7 @@ CreateHobForRecoveryCapsule (
   DEBUG((DEBUG_INFO, "BuildFvHob (FV in recovery) - 0x%lx - 0x%lx\n", (UINT64)(UINTN)FvHeader, FvHeader->FvLength));
 
   PeiServicesInstallFvInfoPpi(
-    NULL,
+    &FvHeader->FileSystemGuid,
     (VOID *)FvHeader,
     (UINT32)FvHeader->FvLength,
     NULL,
-- 
2.8.0.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch] SignedCapsulePkg: Update RecoveryModuleLoadPei to report the correct FvInfo
  2017-03-28  6:11 [Patch] SignedCapsulePkg: Update RecoveryModuleLoadPei to report the correct FvInfo Liming Gao
@ 2017-03-28 12:29 ` Yao, Jiewen
  0 siblings, 0 replies; 2+ messages in thread
From: Yao, Jiewen @ 2017-03-28 12:29 UTC (permalink / raw)
  To: Gao, Liming, edk2-devel@lists.01.org

Reviewed-by: jiewen.yao@intel.com

> -----Original Message-----
> From: Gao, Liming
> Sent: Tuesday, March 28, 2017 2:11 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>
> Subject: [Patch] SignedCapsulePkg: Update RecoveryModuleLoadPei to report
> the correct FvInfo
> 
> Update logic to install FvInfo PPI with its file system guid.
> 
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Liming Gao <liming.gao@intel.com>
> ---
>  .../Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c           |
> 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git
> a/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadP
> ei.c
> b/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoad
> Pei.c
> index c8c5ba0..c22e3a4 100644
> ---
> a/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadP
> ei.c
> +++
> b/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoad
> Pei.c
> @@ -9,7 +9,7 @@
>    ProcessRecoveryCapsule(), ProcessFmpCapsuleImage(),
> ProcessRecoveryImage(),
>    ValidateFmpCapsule() will receive untrusted input and do basic validation.
> 
> -Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
> +Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
>  This program and the accompanying materials
>  are licensed and made available under the terms and conditions of the BSD
> License
>  which accompanies this distribution.  The full text of the license may be found
> at
> @@ -467,7 +467,7 @@ CreateHobForRecoveryCapsule (
>    DEBUG((DEBUG_INFO, "BuildFvHob (FV in recovery) - 0x%lx - 0x%lx\n",
> (UINT64)(UINTN)FvHeader, FvHeader->FvLength));
> 
>    PeiServicesInstallFvInfoPpi(
> -    NULL,
> +    &FvHeader->FileSystemGuid,
>      (VOID *)FvHeader,
>      (UINT32)FvHeader->FvLength,
>      NULL,
> --
> 2.8.0.windows.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-28 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28  6:11 [Patch] SignedCapsulePkg: Update RecoveryModuleLoadPei to report the correct FvInfo Liming Gao
2017-03-28 12:29 ` Yao, Jiewen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox