From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web08.6288.1618068202145595568 for ; Sat, 10 Apr 2021 08:23:22 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: yun.lou@intel.com) IronPort-SDR: wvpDsHxeOURwVr8YFuIW7ZHmEXoobALD4YhFM8hKwYitjvHbqSZycOiRiYFFPuF4eeNFezyEPR 0aIrHYJ1keHA== X-IronPort-AV: E=McAfee;i="6000,8403,9950"; a="173422910" X-IronPort-AV: E=Sophos;i="5.82,212,1613462400"; d="scan'208";a="173422910" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2021 08:23:21 -0700 IronPort-SDR: hm0dRMnPkwtxC+Jv/pCmtTDUeXxj6XCxlBYfpTXCBV0K2PhVbT/DDHdlOSuDSoILRMjIWQ1nF7 HTH0FiWref9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,212,1613462400"; d="scan'208";a="416696868" Received: from shwdeopenlab102.ccr.corp.intel.com ([10.239.183.74]) by fmsmga008.fm.intel.com with ESMTP; 10 Apr 2021 08:23:19 -0700 From: "Jason Lou" To: devel@edk2.groups.io Cc: Jason , Ray Ni , Eric Dong , Laszlo Ersek , Rahul Kumar Subject: [PATCH v1] UefiCpuPkg/CpuTimerLib: Update LIBRARY_CLASS of Base instance. Date: Sat, 10 Apr 2021 23:23:16 +0800 Message-Id: <20210410152317.15057-1-yun.lou@intel.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2832 Update LIBRARY_CLASS of BaseCpuTimerLib to remove the usage limitation, otherwise the Base instance cannot be used in some types of modules. Signed-off-by: Jason Lou Cc: Ray Ni Cc: Eric Dong Cc: Laszlo Ersek Cc: Rahul Kumar --- UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf b/UefiCpuPk= g/Library/CpuTimerLib/BaseCpuTimerLib.inf index fd93adc5f1..de0648de91 100644 --- a/UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf +++ b/UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf @@ -4,7 +4,7 @@ # Provides basic timer support using CPUID Leaf 0x15 XTAL frequency. The = performance=0D # counter features are provided by the processors time stamp counter.=0D #=0D -# Copyright (c) 2019, Intel Corporation. All rights reserved.
=0D +# Copyright (c) 2021, Intel Corporation. All rights reserved.
=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D ##=0D @@ -15,7 +15,7 @@ FILE_GUID =3D F10B5B91-D15A-496C-B044-B5235721AA08= =0D MODULE_TYPE =3D BASE=0D VERSION_STRING =3D 1.0=0D - LIBRARY_CLASS =3D TimerLib|SEC PEI_CORE PEIM=0D + LIBRARY_CLASS =3D TimerLib=0D MODULE_UNI_FILE =3D BaseCpuTimerLib.uni=0D =0D [Sources]=0D --=20 2.28.0.windows.1