From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.11666.1649775112421373944 for ; Tue, 12 Apr 2022 07:51:52 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=EN9qA39D; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: yu.pu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649775112; x=1681311112; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=V46CPkoeBtHvs/EZga8St8oNCp3GGLkunj9MjWj/58U=; b=EN9qA39D3/nPGyzpefVn9xgfFY/EtQS9JIPWwxi3D46TrAoA+tIPxUO4 kRfHVTi0KEXMgf368q66tFa6Y5uNOHfEgU3DeG7MQeybqZ1e8LKkcWE/0 fom2DBZdB0Yst0Wx8h7bg1VHzB9rpPunxWVS9/9PbGeaS0QZbtxmufm0T Iz7KPJAprG7e/6FAqjTCxznGrxezjmx9pBzkJz9mIaS2icgkaLPh4NRua T6M3EvIWYpleZ1id34Rv85CuzFvL5PzBwVjrcWCb6Tg6x0vcvulbIQARY qq0bQvNZ16GVdM/wFUPcukvcnvMSzPsK0J/IMepcCzZgtEYzokXrQ2Nez Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="259986595" X-IronPort-AV: E=Sophos;i="5.90,254,1643702400"; d="scan'208";a="259986595" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 07:51:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,254,1643702400"; d="scan'208";a="551740248" Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 12 Apr 2022 07:51:50 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Chasel Chiu , Nate DeSimone , Star Zeng Subject: [PATCH v2 02/14] IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib Date: Tue, 12 Apr 2022 22:51:32 +0800 Message-Id: <20220412145144.3521-3-yu.pu@intel.com> X-Mailer: git-send-email 2.30.0.windows.2 In-Reply-To: <20220412145144.3521-1-yu.pu@intel.com> References: <20220412145144.3521-1-yu.pu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Yu Pu --- IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 1 + IntelFsp2Pkg/FspSecCore/SecMain.h | 1 + 2 files changed, 2 insertions(+) diff --git a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf b/IntelFsp2Pkg/FspSecC= ore/FspSecCoreM.inf index 7b05cae64130..830471adcf2f 100644 --- a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf +++ b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf @@ -51,6 +51,7 @@ FspSwitchStackLib=0D FspCommonLib=0D FspSecPlatformLib=0D + CpuLib=0D UefiCpuLib=0D =0D [Pcd]=0D diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h b/IntelFsp2Pkg/FspSecCore/Se= cMain.h index 7794255af13d..edb7447d9eff 100644 --- a/IntelFsp2Pkg/FspSecCore/SecMain.h +++ b/IntelFsp2Pkg/FspSecCore/SecMain.h @@ -20,6 +20,7 @@ #include =0D #include =0D #include =0D +#include =0D #include =0D #include =0D =0D --=20 2.30.0.windows.2