From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id EBFAF740037 for ; Tue, 21 Nov 2023 06:39:46 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=QYoK5fzWaRu6xD9zA2T8uk9DS83KIc1Qivcndwg9jBY=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:From:To:Cc:Reply-To:References:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1700548785; v=1; b=udpZJBrYXKMZKm1L0ERrHhLP0wbFO8ojJDPbCl2z/gm15l00IwEgZrJ2hy6FFmRY8/7uw8Uc Vst0BzGlAxRSd7FwOKTI3fbb3qLHUVPWcFuzIczKoXNRdm2XqzXYozNxnPekf0TqiWw3OvLgM2Z /gZl3gKLE9qEFuJ2C8G5XkcY= X-Received: by 127.0.0.2 with SMTP id veCBYY7687511xfln9xZEwRT; Mon, 20 Nov 2023 22:39:45 -0800 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web10.30250.1700548783990594758 for ; Mon, 20 Nov 2023 22:39:44 -0800 X-Received: from loongson.cn (unknown [10.40.24.149]) by gateway (Coremail) with SMTP id _____8BxpPCrUFxlj3g7AA--.52145S3; Tue, 21 Nov 2023 14:39:39 +0800 (CST) X-Received: from [10.40.24.149] (unknown [10.40.24.149]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxK9ynUFxlIipIAA--.27345S3; Tue, 21 Nov 2023 14:39:35 +0800 (CST) Message-ID: Date: Tue, 21 Nov 2023 14:39:35 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH v3 27/39] ArmVirtPkg: Move PlatformBootManagerLib to OvmfPkg From: "Chao Li" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Gerd Hoffmann , Jiewen Yao , Lazlo Ersek Reply-To: devel@edk2.groups.io,lichao@loongson.cn References: <20231117095742.3605778-1-lichao@loongs> <179860DB0A3E8D83.6542@groups.io> In-Reply-To: <179860DB0A3E8D83.6542@groups.io> X-CM-TRANSID: AQAAf8BxK9ynUFxlIipIAA--.27345S3 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQACCGVcE6oCbwAAsm X-Coremail-Antispam: 1Uk129KBj93XoWxtFy8ZF1xXry5JFW3tr1rZrc_yoWfXF1xpr 4ktr48Cr18G3Wavry7Gay0vF4Y9asIgF15Jw4YkF12kasYqr1Ygw1UtryFk343Za12vr4D AFWDKa13uayDXagCm3ZEXasCq-sJn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnRJUUUyCb4IE77IF4wAF F20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r 106r15M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAF wI0_JFI_Gr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1l84ACjcxK6I8E87Iv67 AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AKxVW8Jr0_Cr1UM2AIxVAIcxkEcVAq 07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx1lYx0E2Ix0cI8IcVAFwI0_Jr0_Jr 4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCj r7xvwVCIw2I0I7xG6c02F41l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr 1lx2IqxVAqx4xG67AKxVWUGVWUWwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE 14v26r126r1DMIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7 IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E 87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0x ZFpf9x07UEFAJUUUUU= Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 0uqOhmcAKvYdvKwkBz6WfEt9x7686176AA= Content-Type: multipart/alternative; boundary="------------Ladj1ezYmTUTmTnmeaOA9oa7" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=udpZJBrY; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io --------------Ladj1ezYmTUTmTnmeaOA9oa7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable This patch accidentally breaks some platforms, I will fix them in V4. Thanks, Chao On 2023/11/17 18:02, Chao Li wrote: > Moved the PlatformBootManagerLib to OvmfPkg and renamed to > PlatformBootManagerLibLight for easy use by other ARCH. > > Build-tested only (with "ArmVirtQemu.dsc"). > > BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4584 > > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Cc: Sami Mujawar > Cc: Gerd Hoffmann > Cc: Jiewen Yao > Cc: Lazlo Ersek > Signed-off-by: Chao Li > --- > ArmPkg/ArmPkg.dsc | 1 - > ArmVirtPkg/ArmVirtCloudHv.dsc | 2 +- > ArmVirtPkg/ArmVirtKvmTool.dsc | 2 +- > ArmVirtPkg/ArmVirtQemu.dsc | 2 +- > ArmVirtPkg/ArmVirtQemuKernel.dsc | 2 +- > ArmVirtPkg/ArmVirtXen.dsc | 2 +- > .../Library/PlatformBootManagerLibLight}/PlatformBm.c | 0 > .../Library/PlatformBootManagerLibLight}/PlatformBm.h | 0 > .../PlatformBootManagerLibLight}/PlatformBootManagerLib.inf | 2 +- > .../Library/PlatformBootManagerLibLight}/QemuKernel.c | 0 > 10 files changed, 6 insertions(+), 7 deletions(-) > rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/= PlatformBootManagerLibLight}/PlatformBm.c (100%) > rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/= PlatformBootManagerLibLight}/PlatformBm.h (100%) > rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/= PlatformBootManagerLibLight}/PlatformBootManagerLib.inf (93%) > rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/= PlatformBootManagerLibLight}/QemuKernel.c (100%) > > diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc > index 7af25a91a1..f0667c72f8 100644 > --- a/ArmPkg/ArmPkg.dsc > +++ b/ArmPkg/ArmPkg.dsc > @@ -151,7 +151,6 @@ > ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf > ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf > ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.= inf > - ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf > ArmPkg/Library/LinuxBootBootManagerLib/LinuxBootBootManagerLib.inf > =20 > ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.inf > diff --git a/ArmVirtPkg/ArmVirtCloudHv.dsc b/ArmVirtPkg/ArmVirtCloudHv.ds= c > index 0f80fb34cc..aeed77ffcb 100644 > --- a/ArmVirtPkg/ArmVirtCloudHv.dsc > +++ b/ArmVirtPkg/ArmVirtCloudHv.dsc > @@ -43,7 +43,7 @@ > TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.i= nf > BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf > - PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformB= ootManagerLib.inf > + PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Pla= tformBootManagerLib.inf > PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmP= rintScLib.inf > CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Custom= izedDisplayLib.inf > FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferB= ltLib.inf > diff --git a/ArmVirtPkg/ArmVirtKvmTool.dsc b/ArmVirtPkg/ArmVirtKvmTool.ds= c > index 31d5bc13cf..e2b90e000f 100644 > --- a/ArmVirtPkg/ArmVirtKvmTool.dsc > +++ b/ArmVirtPkg/ArmVirtKvmTool.dsc > @@ -56,7 +56,7 @@ > =20 > # BDS Libraries > UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootMa= nagerLib.inf > - PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformB= ootManagerLib.inf > + PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Pla= tformBootManagerLib.inf > BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf > =20 > CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Custom= izedDisplayLib.inf > diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc > index 6b2b4d1086..ac980a2736 100644 > --- a/ArmVirtPkg/ArmVirtQemu.dsc > +++ b/ArmVirtPkg/ArmVirtQemu.dsc > @@ -70,7 +70,7 @@ > =20 > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.i= nf > BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf > - PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/Platf= ormBootManagerLib.inf > + PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Pla= tformBootManagerLib.inf > PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmP= rintScLib.inf > CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Custom= izedDisplayLib.inf > FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferB= ltLib.inf > diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKer= nel.dsc > index 34fdf5d5a9..b8867ea6fe 100644 > --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc > +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc > @@ -69,7 +69,7 @@ > =20 > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.i= nf > BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf > - PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/Platf= ormBootManagerLib.inf > + PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Pla= tformBootManagerLib.inf > PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmP= rintScLib.inf > CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Custom= izedDisplayLib.inf > FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferB= ltLib.inf > diff --git a/ArmVirtPkg/ArmVirtXen.dsc b/ArmVirtPkg/ArmVirtXen.dsc > index 5809832e66..c8cef06d3e 100644 > --- a/ArmVirtPkg/ArmVirtXen.dsc > +++ b/ArmVirtPkg/ArmVirtXen.dsc > @@ -50,7 +50,7 @@ > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.i= nf > UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootMa= nagerLib.inf > BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf > - PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformB= ootManagerLib.inf > + PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Pla= tformBootManagerLib.inf > CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Custom= izedDisplayLib.inf > TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasu= rementLibNull.inf > TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarch= yLibNull/PeiDxeTpmPlatformHierarchyLib.inf > diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c b/Ovm= fPkg/Library/PlatformBootManagerLibLight/PlatformBm.c > similarity index 100% > rename from ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c > rename to OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBm.c > diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.h b/Ovm= fPkg/Library/PlatformBootManagerLibLight/PlatformBm.h > similarity index 100% > rename from ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.h > rename to OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBm.h > diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManage= rLib.inf b/OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManagerL= ib.inf > similarity index 93% > rename from ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManager= Lib.inf > rename to OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManager= Lib.inf > index 9d3ccd815a..3c63e3395c 100644 > --- a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.in= f > +++ b/OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManagerLib.= inf > @@ -20,7 +20,7 @@ > # > # The following information is for reference only and not required by t= he build tools. > # > -# VALID_ARCHITECTURES =3D ARM AARCH64 > +# VALID_ARCHITECTURES =3D ARM AARCH64 LOONGARCH64 > # > =20 > [Sources] > diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/QemuKernel.c b/Ovm= fPkg/Library/PlatformBootManagerLibLight/QemuKernel.c > similarity index 100% > rename from ArmVirtPkg/Library/PlatformBootManagerLib/QemuKernel.c > rename to OvmfPkg/Library/PlatformBootManagerLibLight/QemuKernel.c -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111513): https://edk2.groups.io/g/devel/message/111513 Mute This Topic: https://groups.io/mt/102644799/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --------------Ladj1ezYmTUTmTnmeaOA9oa7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

This patch accidentally breaks some platforms, I will fix them in V4.


=
Thanks,
Chao
On 2023/11/17 18:02, Chao Li wrote:
Moved the PlatformBootManagerL=
ib to OvmfPkg and renamed to
PlatformBootManagerLibLight for easy use by other ARCH.

Build-tested only (with "ArmVirtQemu.dsc").

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=
=3D4584

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Lazlo Ersek <lersek@redhat.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
 ArmPkg/ArmPkg.dsc                                               | 1 -
 ArmVirtPkg/ArmVirtCloudHv.dsc                                   | 2 +-
 ArmVirtPkg/ArmVirtKvmTool.dsc                                   | 2 +-
 ArmVirtPkg/ArmVirtQemu.dsc                                      | 2 +-
 ArmVirtPkg/ArmVirtQemuKernel.dsc                                | 2 +-
 ArmVirtPkg/ArmVirtXen.dsc                                       | 2 +-
 .../Library/PlatformBootManagerLibLight}/PlatformBm.c           | 0
 .../Library/PlatformBootManagerLibLight}/PlatformBm.h           | 0
 .../PlatformBootManagerLibLight}/PlatformBootManagerLib.inf     | 2 +-
 .../Library/PlatformBootManagerLibLight}/QemuKernel.c           | 0
 10 files changed, 6 insertions(+), 7 deletions(-)
 rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/=
PlatformBootManagerLibLight}/PlatformBm.c (100%)
 rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/=
PlatformBootManagerLibLight}/PlatformBm.h (100%)
 rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/=
PlatformBootManagerLibLight}/PlatformBootManagerLib.inf (93%)
 rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/=
PlatformBootManagerLibLight}/QemuKernel.c (100%)

diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc
index 7af25a91a1..f0667c72f8 100644
--- a/ArmPkg/ArmPkg.dsc
+++ b/ArmPkg/ArmPkg.dsc
@@ -151,7 +151,6 @@
   ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
   ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
   ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
-  ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
   ArmPkg/Library/LinuxBootBootManagerLib/LinuxBootBootManagerLib.inf
=20
   ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.inf
diff --git a/ArmVirtPkg/ArmVirtCloudHv.dsc b/ArmVirtPkg/ArmVirtCloudHv.dsc
index 0f80fb34cc..aeed77ffcb 100644
--- a/ArmVirtPkg/ArmVirtCloudHv.dsc
+++ b/ArmVirtPkg/ArmVirtCloudHv.dsc
@@ -43,7 +43,7 @@
   TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
   BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
-  PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBoo=
tManagerLib.inf
+  PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Platf=
ormBootManagerLib.inf
   PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrin=
tScLib.inf
   CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize=
dDisplayLib.inf
   FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL=
ib.inf
diff --git a/ArmVirtPkg/ArmVirtKvmTool.dsc b/ArmVirtPkg/ArmVirtKvmTool.dsc
index 31d5bc13cf..e2b90e000f 100644
--- a/ArmVirtPkg/ArmVirtKvmTool.dsc
+++ b/ArmVirtPkg/ArmVirtKvmTool.dsc
@@ -56,7 +56,7 @@
=20
   # BDS Libraries
   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag=
erLib.inf
-  PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBoo=
tManagerLib.inf
+  PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Platf=
ormBootManagerLib.inf
   BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
=20
   CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize=
dDisplayLib.inf
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 6b2b4d1086..ac980a2736 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -70,7 +70,7 @@
=20
   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
   BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
-  PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/Platfor=
mBootManagerLib.inf
+  PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Platf=
ormBootManagerLib.inf
   PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrin=
tScLib.inf
   CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize=
dDisplayLib.inf
   FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL=
ib.inf
diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKerne=
l.dsc
index 34fdf5d5a9..b8867ea6fe 100644
--- a/ArmVirtPkg/ArmVirtQemuKernel.dsc
+++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc
@@ -69,7 +69,7 @@
=20
   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
   BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
-  PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/Platfor=
mBootManagerLib.inf
+  PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Platf=
ormBootManagerLib.inf
   PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrin=
tScLib.inf
   CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize=
dDisplayLib.inf
   FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL=
ib.inf
diff --git a/ArmVirtPkg/ArmVirtXen.dsc b/ArmVirtPkg/ArmVirtXen.dsc
index 5809832e66..c8cef06d3e 100644
--- a/ArmVirtPkg/ArmVirtXen.dsc
+++ b/ArmVirtPkg/ArmVirtXen.dsc
@@ -50,7 +50,7 @@
   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag=
erLib.inf
   BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
-  PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBoo=
tManagerLib.inf
+  PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/Platf=
ormBootManagerLib.inf
   CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize=
dDisplayLib.inf
   TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurem=
entLibNull.inf
   TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLi=
bNull/PeiDxeTpmPlatformHierarchyLib.inf
diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c b/OvmfP=
kg/Library/PlatformBootManagerLibLight/PlatformBm.c
similarity index 100%
rename from ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c
rename to OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBm.c
diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.h b/OvmfP=
kg/Library/PlatformBootManagerLibLight/PlatformBm.h
similarity index 100%
rename from ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.h
rename to OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBm.h
diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerL=
ib.inf b/OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManagerLib=
.inf
similarity index 93%
rename from ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLi=
b.inf
rename to OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManagerLi=
b.inf
index 9d3ccd815a..3c63e3395c 100644
--- a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
+++ b/OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManagerLib.in=
f
@@ -20,7 +20,7 @@
 #
 # The following information is for reference only and not required by the =
build tools.
 #
-#  VALID_ARCHITECTURES           =3D ARM AARCH64
+#  VALID_ARCHITECTURES           =3D ARM AARCH64 LOONGARCH64
 #
=20
 [Sources]
diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/QemuKernel.c b/OvmfP=
kg/Library/PlatformBootManagerLibLight/QemuKernel.c
similarity index 100%
rename from ArmVirtPkg/Library/PlatformBootManagerLib/QemuKernel.c
rename to OvmfPkg/Library/PlatformBootManagerLibLight/QemuKernel.c
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#111513) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--------------Ladj1ezYmTUTmTnmeaOA9oa7--