From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.27526.1649670362450593366 for ; Mon, 11 Apr 2022 02:46:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=U8q46RQW; spf=pass (domain: intel.com, ip: 134.134.136.100, 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=1649670362; x=1681206362; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=V46CPkoeBtHvs/EZga8St8oNCp3GGLkunj9MjWj/58U=; b=U8q46RQWQjdpvOayr5eLmtFjuCPmwIALl8uoXII7MC4W2q0z9dFaBJxL zrFNDrh5Lcm5GSCCe4rHSv3O5Vw7o0Veg8OB3UE84UNPQidBmU2Cs6H/9 l3dP+2P+QU8V1HeJDtseNOWvW6rVXP1O7JKbIxB5YNGHJDsk63kZUpkDA v6Gz2Erc8sFcQst2VLv22PiW37LE9SLzAK/8jdAm6pPHjm0BbyM+SLfte 1WYW3DKYckF5yb4xiVTV3hbctbNQzDkFxbcnujDj6HPUhqKi4uwFNb672 1qQk51C4f5QW55g3thSIwdOFRr0PDCoL2Ekmqhf95mWjC3VDQDuTjHiQj A==; X-IronPort-AV: E=McAfee;i="6400,9594,10313"; a="324989875" X-IronPort-AV: E=Sophos;i="5.90,251,1643702400"; d="scan'208";a="324989875" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2022 02:46:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,251,1643702400"; d="scan'208";a="507044910" Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga003.jf.intel.com with ESMTP; 11 Apr 2022 02:46:00 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Chasel Chiu , Nate DeSimone , Star Zeng Subject: [PATCH v1 01/15] IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib Date: Mon, 11 Apr 2022 17:45:41 +0800 Message-Id: <20220411094555.1375-2-yu.pu@intel.com> X-Mailer: git-send-email 2.30.0.windows.2 In-Reply-To: <20220411094555.1375-1-yu.pu@intel.com> References: <20220411094555.1375-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