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:52:00 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=AH5CCVSg; 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=1649775119; x=1681311119; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=agBaMdBrisF/zAUcOErLggnxQR723+CjfC4pG0aC5jE=; b=AH5CCVSgW9/+Pc0QAXI5YZ4QFIfCwG7xqhCRXUKeYiwxJaUVbBhPcM90 BpyZ1EOb3czb6IJ9326gikHPQpZh5mJhyMeknnoLqgo3KZ8qmvVJX4i/b dZl76VoB189CI99hCXTltyzGT/7ZktH7p76PEaSUZlZuG57J2jP5P9WOL tFcPK69XuZGg69lCXDs1sLNx6MmR8jFJOd5SjnfguhUbd2V8FXLWRNy8y IW/EZEARGpE7fiYf4LFi0cAKz03tbx6Q8T/BTOaWx7N2N886TX4wALJtl 3xEQKRRAWN6YKPjKCOEhLMRDzz3NF/ODURgRmoqgcgNgH33DSGkyU+5W1 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="259986623" X-IronPort-AV: E=Sophos;i="5.90,254,1643702400"; d="scan'208";a="259986623" 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:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,254,1643702400"; d="scan'208";a="551740278" Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 12 Apr 2022 07:51:57 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Guo Dong , Ray Ni , Maurice Ma , Benjamin You , Sean Rhodes Subject: [PATCH v2 06/14] UefiPayloadPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Tue, 12 Apr 2022 22:51:36 +0800 Message-Id: <20220412145144.3521-7-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: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Cc: Sean Rhodes Signed-off-by: Yu Pu --- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h | 1 + UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf | 1 + UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf | 1 + 3 files changed, 3 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h b/UefiPaylo= adPkg/UefiPayloadEntry/UefiPayloadEntry.h index 56e0a4c639a0..d1c7425b28f2 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h @@ -23,6 +23,7 @@ #include =0D #include =0D #include =0D +#include =0D #include =0D #include =0D #include =0D diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf b/UefiPay= loadPkg/UefiPayloadEntry/UefiPayloadEntry.inf index c4e4339ede4b..95446dd99729 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf @@ -54,6 +54,7 @@ HobLib=0D PeCoffLib=0D PlatformSupportLib=0D + CpuLib=0D UefiCpuLib=0D =0D [Guids]=0D diff --git a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf b/Ue= fiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf index 80af5afe0a3f..3b4836042a06 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf @@ -52,6 +52,7 @@ IoLib=0D HobLib=0D PeCoffLib=0D + CpuLib=0D UefiCpuLib=0D =0D [Guids]=0D --=20 2.30.0.windows.2