From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web08.18246.1636948556860411929 for ; Sun, 14 Nov 2021 19:55:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=YZus2QI0; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0953f1bc5c=abner.chang@hpe.com) Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AEIkvQt015938; Mon, 15 Nov 2021 03:55:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pps0720; bh=RNAaprjXGyB39iUT2fAGptSsuCHGEw5SWCOvU5hcCpQ=; b=YZus2QI0zC2N1+Kzrr2UUdGQXigZ/jgji9OCPEBuL0Xbu5redgvc7bGx20/MxoTmYZEM BJbIGRNi5Kw0OyOJtrv8bJqh7SXzvjEPk0bINtMupQResrP2P71+squGl9Eycedm5xGk mx5eZLzDLwrHX7LWQb/gtxku9FNHkIhPliYMcVuKbtkVhzMRKgMF1LpcSEvLkc3MeWpb wuROEoxdYmr/9tCxsf7GOCZ5rKekeF0zsMX6pQFGZSBtK914XHABL9L5yDWUtof40RDm TzmZ11J0b49CojeE92ASCQx0m0EP078pZOXYQ3PJrSXe5XF18DrX/N5fz3/cJR61YpAb Rg== Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0a-002e3701.pphosted.com with ESMTP id 3caq0jpnyb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Nov 2021 03:55:55 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 5DF9381; Mon, 15 Nov 2021 03:55:54 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 45D0C39; Mon, 15 Nov 2021 03:55:53 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [edk2-platforms][PATCH 08/14] RiscVPlatformPkg/U500: U500 uses mtime CSR library Date: Mon, 15 Nov 2021 10:56:34 +0800 Message-Id: <20211115025640.12897-9-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211115025640.12897-1-abner.chang@hpe.com> References: <20211115025640.12897-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: GPzU7Sk9bih8LwR9mnfO04OclYeyTUxa X-Proofpoint-ORIG-GUID: GPzU7Sk9bih8LwR9mnfO04OclYeyTUxa X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-15_02,2021-11-12_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 impostorscore=0 suspectscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 spamscore=0 mlxlogscore=758 clxscore=1015 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111150021 Content-Transfer-Encoding: quoted-printable Use mtime CSR library interface to access mtime CSR in Timer DXE driver. Signed-off-by: Abner Chang Cc: Daniel Schaefer Cc: Sunil V L --- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/P= latform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc index 9c9a676de5..587f1dfa62 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc @@ -147,6 +147,7 @@ RiscVCpuLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.= inf=0D RiscVEdk2SbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVEdk2SbiLib/Risc= VEdk2SbiLib.inf=0D RiscVPlatformTimerLib|Platform/SiFive/U5SeriesPkg/Library/RiscVPlatformT= imerLib/RiscVPlatformTimerLib.inf=0D + MachineModeTimerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVReadMachine= ModeTimer/EmulatedMachineModeTimerLib/EmulatedMachineModeTimerLib.inf=0D CpuExceptionHandlerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVExceptio= nLib/CpuExceptionHandlerDxeLib.inf=0D =0D # Flattened Device Tree (FDT) access library=0D --=20 2.31.1