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.web12.12205.1612885481433147344 for ; Tue, 09 Feb 2021 07:44:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=UjWW+kpy; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0674d93a3b=daniel.schaefer@hpe.com) Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 119FdT07018748; Tue, 9 Feb 2021 15:44:31 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 : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=ZtNvXQ9mZ08dQjppFvT7l/pmpKtjkctftEA8qvqo4II=; b=UjWW+kpymtPRiw2N7fqN3RxhSVMJGsoa47y1QjF0EAcwAAUO0XZIV+14T3MnDEcFvKbf LJPMZ40ptgmDtQyvsXCzacRoeKmeIFGcipDqwLhfAeDxb/0aq277DGWGwgFbgCRL0DEL 0KXxqLqmDVFjnYIA2Ips42jbsA2oKFHtgoHh/SaggyIFvpKfZYz6zF0n6VKqQKJlFV/r rYvlcxhtgOoT3uRbwdeO7/6BhcQn78lFBiqotVsYXUCDxQkY9AkUYdqlxZ1fDYCEQc7X tQ5jCtSSTmOcyTG0xMKI4bDOVTjO8kdq7opT/d33CvobpwItcDPNd1LhOrNotMQ/7SH5 xA== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0a-002e3701.pphosted.com with ESMTP id 36kvgh8f5f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Feb 2021 15:44:30 +0000 Received: from G2W6311.americas.hpqcorp.net (g2w6311.austin.hp.com [16.197.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3427.houston.hpe.com (Postfix) with ESMTPS id 0075A80; Tue, 9 Feb 2021 15:44:29 +0000 (UTC) Received: from G4W9335.americas.hpqcorp.net (16.208.33.85) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 9 Feb 2021 15:44:29 +0000 Received: from G9W9210.americas.hpqcorp.net (2002:10dc:429b::10dc:429b) by G4W9335.americas.hpqcorp.net (2002:10d0:2155::10d0:2155) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 9 Feb 2021 15:44:29 +0000 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (15.241.52.13) by G9W9210.americas.hpqcorp.net (16.220.66.155) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 9 Feb 2021 15:44:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O+LUrAfV+MsUIZ+0Y0XlPVqGDTYGYAj2hME7ORH4vaHTszKHZ83GoPywLjjvg/jp4JwMf+C/nTk9nHPyPaAfgPA2FGT/vDvQi36jV5T1YXL97mnHGSjqPON9lzsBxL25HPQKeOgvhM4r48oWor5m+ee2NvQOQ2/O9Y4iK6b9RAXpk0Rl5vKWCmvge5dCuAl1+ToMiyguy9Ha48bftKqm3IMRUNyRyvKwXCojczf7BMBjXICKXhTQks4LJK6RiBuHNtohEt1G6gYstjDVaiA5sCKaQbjIt+HsI61I1b2jqiVQJr7RmJQ9WL6gsQp7cDCY7PnFWaq4Y+qAbE+MHNRNog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZtNvXQ9mZ08dQjppFvT7l/pmpKtjkctftEA8qvqo4II=; b=Oy+V77QQgdtfHKCk0N/Vi4XkkhnN0rkd+UZhesBB4htEg2egxaQvz8fSgETca5PXZRCSHNbfggQdwXOxFPX2FQNrQacCmNY1EgssKGiWSct7arCfefVzwmErHYLDLOdkkXFrclfX4G+Br0Aw5JdO/qGl9FmcZTGeF7qVrW15esPvD4dbdj6yQ4E28vShHYnj5WPW9ONsZdG5hYRWdIV16DaP75N7bd4Il8Obrc6c7G9eHYL65IQBO1PBGpVYF6faXooQGFlQuewXjPSvLpK8GQ/1BiTU3kp9x99KZ5CE8owfiMB7oSzPQk4F67XOweWjrFnB6CM148f52kevTHOKZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; Received: from DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM (10.169.86.151) by DF4PR8401MB0443.NAMPRD84.PROD.OUTLOOK.COM (10.169.82.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.27; Tue, 9 Feb 2021 15:44:27 +0000 Received: from DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM ([fe80::45f0:20e7:1e33:e2a0]) by DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM ([fe80::45f0:20e7:1e33:e2a0%9]) with mapi id 15.20.3825.030; Tue, 9 Feb 2021 15:44:27 +0000 From: "Daniel Schaefer" To: CC: G Edhaya Chandran , Barton Gao , Samer El-Haj-Mahmoud , Eric Jin , Arvin Chen , "Leif Lindholm" , Heinrich Schuchardt , "Abner Chang" Subject: [edk2-test PATCHv2 5/5] SctPkg: Remove trailing whitespace Date: Tue, 9 Feb 2021 23:43:54 +0800 Message-ID: <20210209154354.30234-6-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210209154354.30234-1-daniel.schaefer@hpe.com> References: <20210209154354.30234-1-daniel.schaefer@hpe.com> X-Originating-IP: [123.193.51.23] X-ClientProxiedBy: HK0PR03CA0116.apcprd03.prod.outlook.com (2603:1096:203:b0::32) To DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::23) X-MS-Exchange-MessageSentRepresentingType: 1 Received: from x360-nix.hitronhub.home (123.193.51.23) by HK0PR03CA0116.apcprd03.prod.outlook.com (2603:1096:203:b0::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.23 via Frontend Transport; Tue, 9 Feb 2021 15:44:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6309903b-f821-464d-4dec-08d8cd119503 X-MS-TrafficTypeDiagnostic: DF4PR8401MB0443: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6KEeqJ5v2JLIuJVxeCbItd2mGX+7dLTkf7fnM0dhBWPQbCmUQfJIwC6W/qXpN+M3EvvkJqqmDrgMo6Vvh2iI8DM6lxzcNB24RrRAKTSjeWsL3+aL1KWeMNCPGUdrEaPuuz+9E9aPflep5HtLG453Mcr8E3XEdd6/ruBtycx1dUuJdP6/kn14PdkD6/mELtDP6dhp5bImu2QDLo4VeDFv1lzlbvvKSM9EflKfpmdVMTog31zkPr3ggIMK3FbkO4Vwroo3nhElAiE6yrPSrbF9M/2JnFxU9yCF7W5FBJqNZcydxL2jio9a1DcwVJ2FudsVmIccsWsEMvwSZjBq/MBfhFsGJOf9QMv0LU8sO1ZzASo32hPnG4qf3RG2CllVBdyOmF/pWSXLQzqYP0eojzb2Ktrrz4/4V2t9dx0BPT5qtdWidxS4Q7Ks+pgocxOT+FUUWKbVUypb19+zQvLVxNEvA0n1bMiywYs7DZiZzoRshslbuRzUUfS+OvypKAn4NB8wcurPsqxG5MYrPCcAN3eTh6v3fDEzxSK0zDycsh3GnJFGoPz/ZAzIN1h86E16Ohy9gpaAyQXbjQvuSeRHBFH0ODofYw4wmCMGMsbjdexL9Wo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(396003)(376002)(136003)(39860400002)(346002)(16526019)(86362001)(5660300002)(6506007)(6666004)(52116002)(186003)(6486002)(54906003)(26005)(66476007)(478600001)(66556008)(15188155005)(2616005)(956004)(1076003)(44832011)(8936002)(30864003)(16799955002)(8676002)(83380400001)(2906002)(966005)(19627235002)(6512007)(6916009)(4326008)(66946007)(36756003)(316002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?tmNbJw5Ds3n3aaOvdHCArgKaEEugewCdYyT2Uzt+A9HT+I8rXp1p3gskElNa?= =?us-ascii?Q?qy78YqaiQhnhZGzGKEyhVvuqJgwY68rpst+LHnBeYR9UpD05p6nIrICnk6rA?= =?us-ascii?Q?NHest6jQu07j7mX/j8tCCDTnTWpAaMXPtNgMK8Rzdn1F3ww/sKm7s9a2NmCc?= =?us-ascii?Q?JG/Fi/WuNGPPP8gNXsyIZsk2lC66YPihpGj8cz0FkEzY14msWrDly1p/RvRk?= =?us-ascii?Q?eRG9O7Yw/itIpf4FagQQeRUbST53kJjLFc3iYwdH60Sz7htPqB1vVVfPgUT7?= =?us-ascii?Q?PdWepCzMQsG4AJuZBX6BntqYSwu8Pj4FrCFoCfMK8D5IXYrPQs4RA1wqIM4i?= =?us-ascii?Q?FZRKOg0+KFz5fYT8tyHL0EoXCYg2ghsr21muR8+BB/+C2qmaQP/1D1tONH09?= =?us-ascii?Q?4QnUYfBcUA7fCayn7PHlKcfUAVuQJ/6bjhiYyD8nfwpmS5+HO3qLK/lXO0x3?= =?us-ascii?Q?WRKt/HzV/TyTau5/dlGAGM4M594b4EwIl1dYihrBGMJx6G87s+26otpLCvhY?= =?us-ascii?Q?UVnc83J0CwvT+EOrY8HAf/aD7bR+fO7392lOtnyFqUOIDMeEXH0TaedHTouI?= =?us-ascii?Q?jE9En8MZdgPXrLPCAfWGaLCDoq503tTgCxDUFDxDRdZcOb4VkHXGvIiXUd2G?= =?us-ascii?Q?p+wfip8xI83VNGAoIYGu0ipIiXx0aFAjUvoilNMUZD2X66r/aCGLXe/eCL4x?= =?us-ascii?Q?KR2HkVmMJQTcEsFFNTxyPIlnZ2ONNqMaWNKlXFJl8ODf4/q/L/PtYtrNA0ul?= =?us-ascii?Q?UEDKoEGnc/Nk/p/uZoCYUcWX5FIc4jjHmxpewfhGR664dy35f/V90zXhD4EV?= =?us-ascii?Q?MrfYh/sTTzALAT5RA4kAhUrDVY7tYu1Sm948nRKhYZ8fq9vtiSJST0cLcdm+?= =?us-ascii?Q?IsAKBnzKueYM6tdn9MRMKQ65Ash0qAbf56068czoToFF5LOEKIa1GMA/99CS?= =?us-ascii?Q?Xaq6OGUzE7cee4j/Sxkr+e+Ag6L+vkEoR+fVhAS3G0tvxRmaRJ2KyzPC/QYO?= =?us-ascii?Q?ePh6Sm89b4/scAJDrVxkgJ3Xbus/MytDQAu+4t4RsAn10gH1SZ7XqnhIsXB7?= =?us-ascii?Q?X8VAbLQshxd5ahbg0vI5jDcIjuLvDtViMclGUcKZnsoo5fD/w/evugmuZP6k?= =?us-ascii?Q?BtYjz+cG9QpGJetjVEzqAnO+WZG4Ns7PQO7WrXJqO74B+DkBhyX3fYubn9cw?= =?us-ascii?Q?DtzJW98Cd5DiG6Agu6uLXCd7p2UK+5xmBx0Xh8xKSJJRJO5vRAjmavAIArw4?= =?us-ascii?Q?vFKHz2CiIw9xKjkqk0k9XEn4KAayY92URsoHkAcnxzgIX+X9SnUfCwM+woWZ?= =?us-ascii?Q?RgDyuLD+1xvRrNOiohrmqqrH?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6309903b-f821-464d-4dec-08d8cd119503 X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2021 15:44:27.3344 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9NUhw7R2azzK/MsfbncAckIdSPV61CH6KSei3AvNPf9jZfuq4fRe41fLxE/ks0KNUg0SPzAs4tdOBIHLXTNLMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0443 X-OriginatorOrg: hpe.com X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.737 definitions=2021-02-09_03:2021-02-09,2021-02-09 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 adultscore=0 mlxscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=999 phishscore=0 spamscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102090081 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3042 Cc: G Edhaya Chandran Cc: Barton Gao Cc: Samer El-Haj-Mahmoud Cc: Eric Jin Cc: Arvin Chen Cc: Leif Lindholm Cc: Heinrich Schuchardt Cc: Abner Chang Signed-off-by: Daniel Schaefer --- uefi-sct/SctPkg/Library/SctLib/Aarch64/SctLibPlat.h = | 4 +-- uefi-sct/SctPkg/Library/SctLib/Aarch64/initplat.c = | 6 ++--- uefi-sct/SctPkg/Library/SctLib/Riscv64/SctLibPlat.h = | 7 +++-- uefi-sct/SctPkg/Library/SctLib/Riscv64/initplat.c = | 6 ++--- uefi-sct/SctPkg/SCRT/SCRTApp/Aarch64/GoVirtual.S = | 15 ++++++----- uefi-sct/SctPkg/SCRT/SCRTApp/Aarch64/VirtualMemory.c = | 22 +++++++-------- uefi-sct/SctPkg/SCRT/SCRTApp/Riscv64/GoVirtual.S = | 6 ++--- uefi-sct/SctPkg/SCRT/SCRTApp/Riscv64/VirtualMemory.c = | 6 ++--- uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Debug.c = | 28 +++++++------------- uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Dump.c = | 8 +++--- uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Io.c = | 15 ++++++----- uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Io.h = | 8 +++--- uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Debug.c = | 6 ++--- uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Dump.c = | 8 +++--- uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Io.c = | 8 +++--- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Aarch= 64/DebugSupportBBTestCacheFunction.c | 6 ++--- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Aarch= 64/DebugSupportBBTestExceptionCallbackFunction.c | 18 ++++++------- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Aarch= 64/PlatformIsa.c | 10 +++---- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Riscv= 64/DebugSupportBBTestCacheFunction.c | 6 ++--- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Riscv= 64/DebugSupportBBTestExceptionCallbackFunction.c | 6 ++--- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Riscv= 64/PlatformIsa.c | 6 ++--- uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Aarch64/EntsL= ibPlat.h | 8 +++--- uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Aarch64/InitP= lat.c | 6 ++--- uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Riscv64/EntsL= ibPlat.h | 6 ++--- uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Riscv64/InitP= lat.c | 6 ++--- 25 files changed, 109 insertions(+), 122 deletions(-) diff --git a/uefi-sct/SctPkg/Library/SctLib/Aarch64/SctLibPlat.h b/uefi-sct= /SctPkg/Library/SctLib/Aarch64/SctLibPlat.h index ee7c656b..b7832e18 100644 --- a/uefi-sct/SctPkg/Library/SctLib/Aarch64/SctLibPlat.h +++ b/uefi-sct/SctPkg/Library/SctLib/Aarch64/SctLibPlat.h @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D =0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/Library/SctLib/Aarch64/initplat.c b/uefi-sct/S= ctPkg/Library/SctLib/Aarch64/initplat.c index a48bb2f3..1c247c91 100644 --- a/uefi-sct/SctPkg/Library/SctLib/Aarch64/initplat.c +++ b/uefi-sct/SctPkg/Library/SctLib/Aarch64/initplat.c @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/Library/SctLib/Riscv64/SctLibPlat.h b/uefi-sct= /SctPkg/Library/SctLib/Riscv64/SctLibPlat.h index 69e7f904..b7832e18 100644 --- a/uefi-sct/SctPkg/Library/SctLib/Riscv64/SctLibPlat.h +++ b/uefi-sct/SctPkg/Library/SctLib/Riscv64/SctLibPlat.h @@ -2,16 +2,15 @@ =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D Copyright (c) 2011 - 2012, ARM Ltd. All rights reserved.
=0D - Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All right= s reserved.
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D =0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D @@ -21,7 +20,7 @@ Module Name: =0D Abstract:=0D =0D - RISCV64 specific defines=0D + AArch64 specific defines=0D =0D --*/=0D =0D diff --git a/uefi-sct/SctPkg/Library/SctLib/Riscv64/initplat.c b/uefi-sct/S= ctPkg/Library/SctLib/Riscv64/initplat.c index a48bb2f3..1c247c91 100644 --- a/uefi-sct/SctPkg/Library/SctLib/Riscv64/initplat.c +++ b/uefi-sct/SctPkg/Library/SctLib/Riscv64/initplat.c @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTApp/Aarch64/GoVirtual.S b/uefi-sct/Sc= tPkg/SCRT/SCRTApp/Aarch64/GoVirtual.S index d223b36b..66b5ab6a 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTApp/Aarch64/GoVirtual.S +++ b/uefi-sct/SctPkg/SCRT/SCRTApp/Aarch64/GoVirtual.S @@ -2,15 +2,16 @@ #=0D # Copyright 2010 - 2012 Unified EFI, Inc.
=0D # Copyright (c) 2012, ARM Ltd. All rights reserved.
=0D +# Copyright (c) 2021, Hewlett Packard Enterprise Development LP.
=0D #=0D # This program and the accompanying materials=0D # are licensed and made available under the terms and conditions of the B= SD License=0D -# which accompanies this distribution. The full text of the license may = be found at =0D +# which accompanies this distribution. The full text of the license may = be found at=0D # http://opensource.org/licenses/bsd-license.php=0D -# =0D +#=0D # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IM= PLIED.=0D -# =0D +#=0D ##=0D #=0D #=0D @@ -23,7 +24,7 @@ #--*/=0D #start of the code section=0D .text=0D -/* FIXME: Should alignment be different on Aarch64? */=0D +/* FIXME: Should alignment be different on Riscv64? */=0D .align 3=0D =0D .global JumpToTestFunc=0D @@ -37,8 +38,8 @@ # )=0D #=0D JumpToTestFunc:=0D - mov x2, x0=0D - mov x0, x1=0D + mv x2, x0=0D + mv x0, x1=0D =0D // Jump to Virtual function=0D - blr x2=0D + jalr x2=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTApp/Aarch64/VirtualMemory.c b/uefi-sc= t/SctPkg/SCRT/SCRTApp/Aarch64/VirtualMemory.c index 397b3514..c85ea27b 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTApp/Aarch64/VirtualMemory.c +++ b/uefi-sct/SctPkg/SCRT/SCRTApp/Aarch64/VirtualMemory.c @@ -2,15 +2,16 @@ =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D Copyright (c) 2012, ARM Ltd. All rights reserved.
=0D + Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All right= s reserved.
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D @@ -22,9 +23,6 @@ Module Name: =0D #include "SCRTApp.h"=0D =0D -#define VIRT_TO_PHYS_OFFSET (0x80000000) //2G=0D -=0D -BOOLEAN HighAddress =3D FALSE;=0D UINTN PageTable =3D 0;=0D =0D =0D @@ -49,11 +47,10 @@ Returns: =0D --*/=0D {=0D - /*Note: It is presumed that on ARM v5, V6 and V7 architectures=0D - * the MMU is configured and enabled in PEI phase. As VirtualFunc=0D - * is already mapped to virtual memory, don't have to do anything here.=0D + /* Note: It is presumed that on RISCV architectures the MMU is configure= d and=0D + * enabled in PEI phase. As VirtualFunc is already mapped to virtual mem= ory,=0D + * don't have to do anything here.=0D */=0D - /* FIXME: Is it the same on ARM v8? */=0D }=0D =0D =0D @@ -174,9 +171,8 @@ Returns: --*/=0D {=0D //=0D - // Note: It is assumed that the MMU and page tables are configured on AR= M platforms=0D - // based on ARM v5 v6 and v7 architecture.=0D + // Note: It is assumed that the MMU and page tables are configured on RI= SC-V=0D + // platforms.=0D //=0D - /* FIXME: Is it the same on ARM v8? */=0D JumpToTestFunc(VirtualFunc, HandOffAddr);=0D }=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTApp/Riscv64/GoVirtual.S b/uefi-sct/Sc= tPkg/SCRT/SCRTApp/Riscv64/GoVirtual.S index ae33da18..6b727d6e 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTApp/Riscv64/GoVirtual.S +++ b/uefi-sct/SctPkg/SCRT/SCRTApp/Riscv64/GoVirtual.S @@ -6,12 +6,12 @@ #=0D # This program and the accompanying materials=0D # are licensed and made available under the terms and conditions of the B= SD License=0D -# which accompanies this distribution. The full text of the license may = be found at =0D +# which accompanies this distribution. The full text of the license may = be found at=0D # http://opensource.org/licenses/bsd-license.php=0D -# =0D +#=0D # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IM= PLIED.=0D -# =0D +#=0D ##=0D #=0D #=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTApp/Riscv64/VirtualMemory.c b/uefi-sc= t/SctPkg/SCRT/SCRTApp/Riscv64/VirtualMemory.c index 00b59594..c85ea27b 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTApp/Riscv64/VirtualMemory.c +++ b/uefi-sct/SctPkg/SCRT/SCRTApp/Riscv64/VirtualMemory.c @@ -6,12 +6,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Debug.c b/uefi-sct/Sct= Pkg/SCRT/SCRTDriver/Aarch64/Debug.c index 6161d596..b3e13f63 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Debug.c +++ b/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Debug.c @@ -1,16 +1,17 @@ /** @file=0D =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D - Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D + Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D + Copyright (c) 2021 Hewlett Packard Enterprise Development LP. All rights= reserved.
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D =0D /*++=0D @@ -24,7 +25,6 @@ Module Name: #include "SCRTDriver.h"=0D =0D UINTN mHandOffPtr =3D 0;=0D -EFI_PHYSICAL_ADDRESS mIoPortSpaceAddress =3D 0;=0D =0D =0D EFI_STATUS=0D @@ -42,18 +42,10 @@ ConsumeHandOff ( HandOffPtr =3D (RUNTIME_HANDOFF*)mHandOffPtr;=0D *ConfigData =3D HandOffPtr->ConfigureInfo;=0D =0D - if (!HandOffPtr->DebuggerInfo.MmioFlag){=0D - //=0D - // If debug port is I/O mapped, fix IoBase Address.=0D - //=0D - FixAddress(&HandOffPtr->DebuggerInfo.IoBase);=0D - mIoPortSpaceAddress =3D HandOffPtr->DebuggerInfo.IoBase;=0D - } else {=0D - //=0D - // If debug port is MMIO, fix MmioBase Address.=0D - //=0D - FixAddress(&HandOffPtr->DebuggerInfo.MmioBase);=0D - }=0D + //=0D + // Fix MmioBase Address.=0D + //=0D + FixAddress(&HandOffPtr->DebuggerInfo.MmioBase);=0D =0D return EFI_SUCCESS;=0D }=0D @@ -65,7 +57,7 @@ Send2UART ( )=0D {=0D //=0D - // TODO: On ARM platforms use platform specific functions to=0D + // TODO: On RISC-V platforms use platform specific functions to=0D // write the data to UART.=0D //=0D return EFI_SUCCESS;=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Dump.c b/uefi-sct/SctP= kg/SCRT/SCRTDriver/Aarch64/Dump.c index cc8d9869..cb9771b1 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Dump.c +++ b/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Dump.c @@ -1,16 +1,16 @@ /** @file=0D =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D - Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D + Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D =0D /*++=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Io.c b/uefi-sct/SctPkg= /SCRT/SCRTDriver/Aarch64/Io.c index b925e151..a728d3ca 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Io.c +++ b/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Io.c @@ -1,16 +1,17 @@ /** @file=0D =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D - Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D + Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D + (C) Copyright 2021 Hewlett Packard Enterprise Development LP
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found a =0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D =0D /*++=0D @@ -21,7 +22,7 @@ Module Name: =0D --*/=0D =0D -#include "Io.h"=0D +#include "SCRTDriver.h"=0D =0D EFI_STATUS=0D EFIAPI=0D @@ -119,11 +120,11 @@ FixAddress ( )=0D {=0D //=0D - //Note: On ARM platforms don't have to do this as all the functions are = virtually mapped.=0D + //Note: On RISC-V platforms don't have to do this as all the functions a= re virtually mapped.=0D //=0D }=0D =0D -// Quick port to ARM=0D +// Quick port to RISC-V. It doesn't have traditional I/O-Port 80h POST Cod= es=0D =0D VOID=0D Port80 (=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Io.h b/uefi-sct/SctPkg= /SCRT/SCRTDriver/Aarch64/Io.h index 1e78b3e4..10ab372a 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Io.h +++ b/uefi-sct/SctPkg/SCRT/SCRTDriver/Aarch64/Io.h @@ -1,16 +1,16 @@ /** @file=0D =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D - Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D + Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D =0D /*++=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Debug.c b/uefi-sct/Sct= Pkg/SCRT/SCRTDriver/Riscv64/Debug.c index 2991935a..b3e13f63 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Debug.c +++ b/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Debug.c @@ -6,12 +6,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D =0D /*++=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Dump.c b/uefi-sct/SctP= kg/SCRT/SCRTDriver/Riscv64/Dump.c index cc8d9869..cb9771b1 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Dump.c +++ b/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Dump.c @@ -1,16 +1,16 @@ /** @file=0D =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D - Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D + Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D =0D /*++=0D diff --git a/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Io.c b/uefi-sct/SctPkg= /SCRT/SCRTDriver/Riscv64/Io.c index 255cb9a6..a728d3ca 100644 --- a/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Io.c +++ b/uefi-sct/SctPkg/SCRT/SCRTDriver/Riscv64/Io.c @@ -1,17 +1,17 @@ /** @file=0D =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D - Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D + Copyright (c) 2011 - 2012 ARM Ltd. All rights reserved.
=0D (C) Copyright 2021 Hewlett Packard Enterprise Development LP
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found a =0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D =0D /*++=0D diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackB= oxTest/Aarch64/DebugSupportBBTestCacheFunction.c b/uefi-sct/SctPkg/TestCase= /UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Aarch64/DebugSupportBBTestCach= eFunction.c index 96ee7b57..6b54a25f 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Aarch64/DebugSupportBBTestCacheFunction.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Aarch64/DebugSupportBBTestCacheFunction.c @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackB= oxTest/Aarch64/DebugSupportBBTestExceptionCallbackFunction.c b/uefi-sct/Sct= Pkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Aarch64/DebugSuppo= rtBBTestExceptionCallbackFunction.c index c27c0c0c..1cf2dd74 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Aarch64/DebugSupportBBTestExceptionCallbackFunction.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Aarch64/DebugSupportBBTestExceptionCallbackFunction.c @@ -2,15 +2,16 @@ =0D Copyright 2006 - 2016 Unified EFI, Inc.
=0D Copyright (c) 2011 - 2016, ARM Ltd. All rights reserved.
=0D + Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All right= s reserved.
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found a =0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D @@ -37,7 +38,7 @@ SoftwareBreak ( void=0D )=0D {=0D - // Not ported to ARM yet=0D + // Not ported to RISC-V yet=0D ASSERT (FALSE);=0D }=0D =0D @@ -99,9 +100,7 @@ BBTestRegisterExceptionCallbackFunctionManualTest ( // Invoke RegisterExceptionCallback() to install an interrupt handler fu= nction.=0D //=0D InvokedExceptionCallback =3D FALSE;=0D - // FIXME: Is it normal that we use EXCEPT_IA32_BREAKPOINT here?=0D - // Shouldn't we define proper constants for ARM exceptions in DebugSuppo= rtProtocol.h file?=0D - Status =3D DebugSupport->RegisterExceptionCallback (DebugSupport, 0, Exc= eptionCallback, EXCEPT_IA32_BREAKPOINT);=0D + Status =3D DebugSupport->RegisterExceptionCallback (DebugSupport, 0, Exc= eptionCallback, EXCEPT_RISCV_BREAKPOINT);=0D =0D if ((Status =3D=3D EFI_SUCCESS) || (Status =3D=3D EFI_ALREADY_STARTED)) = {=0D AssertionType =3D EFI_TEST_ASSERTION_PASSED;=0D @@ -205,7 +204,7 @@ BBTestRegisterExceptionCallbackFunctionManualTest ( // Assertion Point 3.4.2.3=0D // Invoke RegisterExceptionCallback() to install another interrupt handl= er function.=0D //=0D - Status =3D DebugSupport->RegisterExceptionCallback (DebugSupport, 0, Exc= eptionCallback1, EXCEPT_IA32_BREAKPOINT);=0D + Status =3D DebugSupport->RegisterExceptionCallback (DebugSupport, 0, Exc= eptionCallback1, EXCEPT_RISCV_BREAKPOINT);=0D =0D if (Status !=3D EFI_ALREADY_STARTED) {=0D AssertionType =3D EFI_TEST_ASSERTION_FAILED;=0D @@ -228,7 +227,7 @@ BBTestRegisterExceptionCallbackFunctionManualTest ( // Assertion Point 3.4.2.4=0D // Invoke RegisterExceptionCallback() to unstall the interrupt handler f= unction.=0D //=0D - Status =3D DebugSupport->RegisterExceptionCallback (DebugSupport, 0, NUL= L, EXCEPT_IA32_BREAKPOINT);=0D + Status =3D DebugSupport->RegisterExceptionCallback (DebugSupport, 0, NUL= L, EXCEPT_RISCV_BREAKPOINT);=0D =0D if (EFI_ERROR(Status)) {=0D AssertionType =3D EFI_TEST_ASSERTION_FAILED;=0D @@ -273,4 +272,3 @@ BBTestRegisterExceptionCallbackFunctionManualTest ( =0D return EFI_SUCCESS;=0D }=0D -=0D diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackB= oxTest/Aarch64/PlatformIsa.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/D= ebugSupport/BlackBoxTest/Aarch64/PlatformIsa.c index 8334f601..d91f520e 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Aarch64/PlatformIsa.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Aarch64/PlatformIsa.c @@ -2,15 +2,16 @@ =0D Copyright 2006 - 2012 Unified EFI, Inc.
=0D Copyright (c) 2011 - 2012, ARM Ltd. All rights reserved.
=0D + Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All right= s reserved.
=0D =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D @@ -26,5 +27,4 @@ Abstract: =0D #include "DebugSupportBBTestMain.h"=0D =0D -EFI_INSTRUCTION_SET_ARCHITECTURE PlatformIsa =3D IsaAArch64;=0D -=0D +EFI_INSTRUCTION_SET_ARCHITECTURE PlatformIsa =3D IsaRiscv64;=0D diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackB= oxTest/Riscv64/DebugSupportBBTestCacheFunction.c b/uefi-sct/SctPkg/TestCase= /UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Riscv64/DebugSupportBBTestCach= eFunction.c index 96ee7b57..6b54a25f 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Riscv64/DebugSupportBBTestCacheFunction.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Riscv64/DebugSupportBBTestCacheFunction.c @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackB= oxTest/Riscv64/DebugSupportBBTestExceptionCallbackFunction.c b/uefi-sct/Sct= Pkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/Riscv64/DebugSuppo= rtBBTestExceptionCallbackFunction.c index c6e72806..1cf2dd74 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Riscv64/DebugSupportBBTestExceptionCallbackFunction.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Riscv64/DebugSupportBBTestExceptionCallbackFunction.c @@ -6,12 +6,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found a =0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackB= oxTest/Riscv64/PlatformIsa.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/D= ebugSupport/BlackBoxTest/Riscv64/PlatformIsa.c index 8b23d91b..d91f520e 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Riscv64/PlatformIsa.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/= Riscv64/PlatformIsa.c @@ -6,12 +6,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found at=0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/A= arch64/EntsLibPlat.h b/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENT= S/EasLib/Aarch64/EntsLibPlat.h index ff781aee..41a6c8bf 100644 --- a/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Aarch64/= EntsLibPlat.h +++ b/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Aarch64/= EntsLibPlat.h @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found a =0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D @@ -20,7 +20,7 @@ Module Name: =0D Abstract:=0D =0D - AArch64 specific defines=0D + RISCV64 specific defines=0D =0D --*/=0D =0D diff --git a/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/A= arch64/InitPlat.c b/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/E= asLib/Aarch64/InitPlat.c index 70a509a4..7a66c099 100644 --- a/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Aarch64/= InitPlat.c +++ b/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Aarch64/= InitPlat.c @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found a =0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/R= iscv64/EntsLibPlat.h b/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENT= S/EasLib/Riscv64/EntsLibPlat.h index 7f7835e4..41a6c8bf 100644 --- a/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Riscv64/= EntsLibPlat.h +++ b/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Riscv64/= EntsLibPlat.h @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found a =0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D diff --git a/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/R= iscv64/InitPlat.c b/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/E= asLib/Riscv64/InitPlat.c index 70a509a4..7a66c099 100644 --- a/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Riscv64/= InitPlat.c +++ b/uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/Riscv64/= InitPlat.c @@ -5,12 +5,12 @@ =0D This program and the accompanying materials=0D are licensed and made available under the terms and conditions of the BS= D License=0D - which accompanies this distribution. The full text of the license may b= e found at =0D + which accompanies this distribution. The full text of the license may b= e found a =0D http://opensource.org/licenses/bsd-license.php=0D - =0D +=0D THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D - =0D +=0D **/=0D /*++=0D =0D --=20 2.30.0