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.3781.1641630355160008387 for ; Sat, 08 Jan 2022 00:25:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Q5BHSkA4; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=000704d8ca=abner.chang@hpe.com) Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 2084KkXn028411 for ; Sat, 8 Jan 2022 08:25: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=z7XAw8icXImRhPASgOpVmDjL1aVbtRgNnzFXRLAYjnw=; b=Q5BHSkA4CccilftNyFVj4Tj7S6a9JkAqQ9dCG5XvX0tzT544DDFU+znngwfsy+rtKP2K T4eE+I8D4Jc+ggy4TX79RmFnKTcBIM1wuKkZsq7ggjFO7WMCMFyJyO3v988SpkYMp98z bZhj7/PCNfBiaxTSgnC5/eokYqOAcgTsb8dzsa3VTesJZwcNspi0JLGscXienRfN1ppB SR92iO0acvHMYshOlS1sKfSjNdxOs4/QnZzEzpc/hL5/tDqHUvXLHfF86PhUS1UUNq4Y NXX/DJfrFmWqNXjtnBFjTlCMdHd75lhT3qzfTP9OP2iRzGxk9iw0mUFuhu4+TrqUoTy3 WA== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3df15phbsk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 08 Jan 2022 08:25:54 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id 0481B77 for ; Sat, 8 Jan 2022 08:25: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 4B5DB39; Sat, 8 Jan 2022 08:25:53 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com Subject: [PATCH 50/79] RiscVPlatformPkg/RiscVSpecialPlatformLib: Rename module name Date: Sat, 8 Jan 2022 15:24:33 +0800 Message-Id: <20220108072444.17879-9-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220108072444.17879-1-abner.chang@hpe.com> References: <20220108072444.17879-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: 7vP-C5_dtzZDKq0fI3Xq25HfOl2GxbG0 X-Proofpoint-ORIG-GUID: 7vP-C5_dtzZDKq0fI3Xq25HfOl2GxbG0 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.11.62.513 definitions=2022-01-08_03,2022-01-07_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 suspectscore=0 priorityscore=1501 phishscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201080063 Content-Transfer-Encoding: quoted-printable (This is migrated from edk2-platforms:Platform) Rename RiscVSpecialPlatformLib to RiscVSpecialPlatformLibNull because this is the NULL instance for RiscVPlatformPkg. Cc: Sunil V L Cc: Daniel Schaefer Signed-off-by: Abner Chang Reviewed-by: Daniel Schaefer Reviewed-by: Sunil V L --- Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc | 4 ++-- .../RiscVSpecialPlatformLibNull.inf} | 0 .../RiscVSpecialPlatformLib.c | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) rename Platform/RISC-V/PlatformPkg/Library/{RiscVSpecialPlatformLib/RiscVS= pecialPlatformLib.inf =3D> RiscVSpecialPlatformLibNull/RiscVSpecialPlatform= LibNull.inf} (100%) rename Platform/RISC-V/PlatformPkg/Library/{RiscVSpecialPlatformLib =3D> R= iscVSpecialPlatformLibNull}/RiscVSpecialPlatformLib.c (76%) diff --git a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc b/Platform/RI= SC-V/PlatformPkg/RiscVPlatformPkg.dsc index 97d5dd08a0..bbb043f9ed 100644 --- a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc +++ b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc @@ -72,7 +72,7 @@ =0D [LibraryClasses.common.SEC]=0D ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseE= xtractGuidedSectionLib.inf=0D - RiscVSpecialPlatformLib|Platform/RISC-V/PlatformPkg/Library/RiscVSpecial= PlatformLib/RiscVSpecialPlatformLib.inf=0D + RiscVSpecialPlatformLib|Platform/RISC-V/PlatformPkg/Library/RiscVSpecial= PlatformLibNull/RiscVSpecialPlatformLibNull.inf=0D =0D [LibraryClasses.common.DXE_DRIVER]=0D PlatformBootManagerLib|Platform/RISC-V/PlatformPkg/Library/PlatformBootM= anagerLib/PlatformBootManagerLib.inf=0D @@ -86,7 +86,7 @@ Platform/RISC-V/PlatformPkg/Library/RiscVPlatformTempMemoryInitLibNull/R= iscVPlatformTempMemoryInitLibNull.inf=0D Platform/RISC-V/PlatformPkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.= inf=0D Platform/RISC-V/PlatformPkg/Library/PlatformSecPpiLibNull/PlatformSecPpi= LibNull.inf=0D - Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLib/RiscVSpecial= PlatformLib.inf=0D + Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNull/RiscVSpe= cialPlatformLibNull.inf=0D =0D [Components.common.SEC]=0D Platform/RISC-V/PlatformPkg/Universal/Sec/SecMain.inf=0D diff --git a/Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLib/Ri= scVSpecialPlatformLib.inf b/Platform/RISC-V/PlatformPkg/Library/RiscVSpecia= lPlatformLibNull/RiscVSpecialPlatformLibNull.inf similarity index 100% rename from Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLib/Ris= cVSpecialPlatformLib.inf rename to Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNull/R= iscVSpecialPlatformLibNull.inf diff --git a/Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLib/Ri= scVSpecialPlatformLib.c b/Platform/RISC-V/PlatformPkg/Library/RiscVSpecialP= latformLibNull/RiscVSpecialPlatformLib.c similarity index 76% rename from Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLib/Ris= cVSpecialPlatformLib.c rename to Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNull/R= iscVSpecialPlatformLib.c index 3a77ff6b17..18c152001c 100644 --- a/Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLib/RiscVSpec= ialPlatformLib.c +++ b/Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNull/RiscV= SpecialPlatformLib.c @@ -14,6 +14,7 @@ //=0D #include =0D =0D -const struct platform_override *SpecialPlatformArray =3D NULL;=0D +const struct platform_override *special_platforms =3D NULL;=0D +const struct platform_override *SpecialPlatformArray =3D NULL;=0D INTN NumberOfPlaformsInArray;=0D =0D --=20 2.31.1