From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web09.7333.1634634518984126627 for ; Tue, 19 Oct 2021 02:08:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=WGolEseY; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0926d272d9=abner.chang@hpe.com) Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19IN1wQW011104; Tue, 19 Oct 2021 09:08:38 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=HrX9mhgSl4oMgusuQ71naA/W1gJX159VikmGWywO/DU=; b=WGolEseYfcbah5VYhk4l2YXdUGIX22fSfXuxaxbwi2T4LJybxyxKX2skzabO6ud+U+wS Fh51544NOji2Xh60nIIwDaEd7c+r4eWjppzolWcMMEATbTxMddUFtwu8bt/MbKPz8zPt MuRlArk4Bwd+ZP9FzjF/AMeWHElG+edGcbcWIV8I5lX1IbfSYhHUGu7VZyEFx+bPoymA V0K1qOSwIayyMuPJzBeRH16VVoBcHKn4CE8d6736wzAwdetgkarJH5xWprWPrc184bpp YgLtNFKekGtE611zYH1e9BTAyGiEZ9oivO0A5f7v2BCBumcixog5Qn88EJhzyhOTzwkk tA== Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 3bsb1x6vxc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Oct 2021 09:08:38 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 6378166; Tue, 19 Oct 2021 09:08:37 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 543AA4F; Tue, 19 Oct 2021 09:08:36 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Sunil V L , Daniel Schaefer Subject: [edk2-platforms][PATCH 18/30] RiscVPlatformPkg/RiscVSpecialPlatformLib: Rename module name Date: Tue, 19 Oct 2021 16:09:55 +0800 Message-Id: <20211019081007.31165-19-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211019081007.31165-1-abner.chang@hpe.com> References: <20211019081007.31165-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: XDH3qWSyv3YMuLI0Zpk5jj7nTtqRlO1x X-Proofpoint-ORIG-GUID: XDH3qWSyv3YMuLI0Zpk5jj7nTtqRlO1x X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-18_07,2021-10-18_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 malwarescore=0 mlxlogscore=999 suspectscore=0 clxscore=1015 bulkscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110190056 Content-Transfer-Encoding: quoted-printable Rename RiscVSpecialPlatformLib to RiscVSpecialPlatformLibNull because this is the NULL instance for RiscVPlatformPkg. Cc: Sunil V L Cc: Daniel Schaefer Signed-off-by: Abner Chang --- 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