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:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=nolChmoP; 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=1649775115; x=1681311115; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VcCuW6BtUB3r4Y1pG0wlzM7qJpFWXLnLFCkulbnw+ew=; b=nolChmoPjEjcGM3gE7BeUPvRVMSVrhBCUnVASfxkIruVeg5jjhTCYUwe 2JrgBFlfLvmLz6c5amJBLTfgJsysxXlTjKS3drV+QqE7Huem34yG2krjB no5c3DAJ4hWlCfyaC57K3trw5BASv1eOcAxniIVsKo1kDVUpSjpAOTBVS 3zScTWVZnqsfHN8PuvNx8KYMpeQivVgdbiYmuQJf47tgUp+s4X+pxu+zp dzBIoXsgGtcDpgxh2BP15KY1ICXtjM9VD+EbscZkppn4wZrobial6Y6Hk SNdC3h4hr1wj9ufVFXcLyaTgwj0JQh6ZHtqaHxxzy4ZfNwIc/Nv8rLTRL w==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="259986607" X-IronPort-AV: E=Sophos;i="5.90,254,1643702400"; d="scan'208";a="259986607" 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:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,254,1643702400"; d="scan'208";a="551740263" Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 12 Apr 2022 07:51:54 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann Subject: [PATCH v2 04/14] OvmfPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Tue, 12 Apr 2022 22:51:34 +0800 Message-Id: <20220412145144.3521-5-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: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Signed-off-by: Yu Pu --- OvmfPkg/Sec/SecMain.c | 1 + OvmfPkg/Sec/SecMain.inf | 1 + 2 files changed, 2 insertions(+) diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c index 2c5561661ef3..2c9e439800c7 100644 --- a/OvmfPkg/Sec/SecMain.c +++ b/OvmfPkg/Sec/SecMain.c @@ -17,6 +17,7 @@ #include =0D #include =0D #include =0D +#include =0D #include =0D #include =0D #include =0D diff --git a/OvmfPkg/Sec/SecMain.inf b/OvmfPkg/Sec/SecMain.inf index 95cf0025e100..6ad366a89333 100644 --- a/OvmfPkg/Sec/SecMain.inf +++ b/OvmfPkg/Sec/SecMain.inf @@ -44,6 +44,7 @@ BaseMemoryLib=0D PeiServicesLib=0D PcdLib=0D + CpuLib=0D UefiCpuLib=0D DebugAgentLib=0D IoLib=0D --=20 2.30.0.windows.2