From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BDBAA21A18AAC for ; Mon, 27 Mar 2017 23:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490681491; x=1522217491; h=from:to:cc:subject:date:message-id; bh=FtV2LJ4oRfDOBsjeK1pNiaZra8YNXYFI5DhjtBbOA2Q=; b=boCQzjtv3II66S5i+yo2yvndf851ZQsBA2UYExmeD6O5iRqFe667HHpd tiPy4Nw2/yEDle9vxr/YKNsOn8EOSg==; Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Mar 2017 23:11:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,235,1486454400"; d="scan'208";a="81336013" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.14]) by fmsmga005.fm.intel.com with ESMTP; 27 Mar 2017 23:11:30 -0700 From: Liming Gao To: edk2-devel@lists.01.org Cc: Jiewen Yao Date: Tue, 28 Mar 2017 14:11:24 +0800 Message-Id: <1490681484-3284-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch] SignedCapsulePkg: Update RecoveryModuleLoadPei to report the correct FvInfo X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2017 06:11:31 -0000 Update logic to install FvInfo PPI with its file system guid. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- .../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.
+Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.
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