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 6847494105E for ; Mon, 8 Jan 2024 03:25:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=VgwN8jH6YAkkQv5ovwkUc+7yOHCWDx7X+ZbSAqKCCiE=; 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=1704684328; v=1; b=bnYRSLeMRjjeou115eq8s8XIwPfLBvxBb6boiWzwcnBS9DV2as8lkm+yyA+zQjxP0ueHhbwC Q2j1MDidzwfIojvJYCPUXbBJLlaL1LwxM1ntWX2HNMPg7kbkIDSNgItQPHwdhmj4v25Ucq7hT/b QpLevIYuQH+nWDmuoTH7Ulag= X-Received: by 127.0.0.2 with SMTP id MxbuYY7687511xKAOPTMXdwS; Sun, 07 Jan 2024 19:25:28 -0800 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web11.32158.1704684327028266420 for ; Sun, 07 Jan 2024 19:25:27 -0800 X-Received: from loongson.cn (unknown [10.40.24.149]) by gateway (Coremail) with SMTP id _____8CxLukga5tlOQUDAA--.1627S3; Mon, 08 Jan 2024 11:25:20 +0800 (CST) X-Received: from [10.40.24.149] (unknown [10.40.24.149]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Axz98fa5tlweYGAA--.17664S3; Mon, 08 Jan 2024 11:25:19 +0800 (CST) Message-ID: <120b1981-d726-4b64-8d04-54302a8fa0e9@loongson.cn> Date: Mon, 8 Jan 2024 11:25:19 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH v6 24/36] ArmVirtPkg: Move PlatformBootManagerLib to OvmfPkg From: "Chao Li" To: devel@edk2.groups.io, Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Gerd Hoffmann Cc: Jiewen Yao , Lazlo Ersek Reply-To: devel@edk2.groups.io,lichao@loongson.cn References: <20240105094118.2279380-1-lichao@loongson.cn> <17A76A601F9A93F4.25044@groups.io> In-Reply-To: <17A76A601F9A93F4.25044@groups.io> X-CM-TRANSID: AQAAf8Axz98fa5tlweYGAA--.17664S3 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQAKCGWbSakDiAABsX X-Coremail-Antispam: 1Uk129KBj93XoWxtFy8ZF1DJF43uF4fArWUtrc_yoW3WryUpF 1ktr4rCr18G3Wavry7Way09a1Y9asIgF15Jw4akr12kasYqF1Y9r1UtryFk343ZF12yr4D ZF4kKF43uFWDZagCm3ZEXasCq-sJn29KB7ZKAUJUUUU5529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnRJUUUyEb4IE77IF4wAF F20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r 106r15M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAF wI0_Ar0_tr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aV AFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAS0I0E0xvYzxvE 52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMcIj6xIIjxv20xvE14v26r1q6r W5McIj6I8E87Iv67AKxVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41l 7480Y4vEI4kI2Ix0rVAqx4xJMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r 4UMI8I3I0E5I8CrVAFwI0_JrI_JrWlx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF 67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r4j6ryUMIIF0xvE2I x0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2 z280aVAFwI0_Gr0_Cr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnU UI43ZEXa7IU8c_-PUUUUU== 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: 7Hc52clsSjcqyvt7KmM5PzsWx7686176AA= Content-Type: multipart/alternative; boundary="------------VaADwl1djB0GVgXpok3rvyeJ" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=bnYRSLeM; 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 --------------VaADwl1djB0GVgXpok3rvyeJ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Ard, Leif, Sami, Gred, Can you please help to review this patch? Thanks, Chao On 2024/1/5 17:45, 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 > --- > ArmVirtPkg/ArmVirtPkg.ci.yaml | 1 - > ArmVirtPkg/ArmVirtPkg.dec | 1 - > ArmVirtPkg/ArmVirtQemu.dsc | 2 +- > ArmVirtPkg/ArmVirtQemuKernel.dsc | 2 +- > .../Library/PlatformBootManagerLibLight}/PlatformBm.c | 0 > .../Library/PlatformBootManagerLibLight}/PlatformBm.h | 0 > .../PlatformBootManagerLib.inf | 7 +++---- > .../Library/PlatformBootManagerLibLight}/QemuKernel.c | 0 > OvmfPkg/OvmfPkg.dec | 4 ++++ > 9 files changed, 9 insertions(+), 8 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 (92%) > rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/= PlatformBootManagerLibLight}/QemuKernel.c (100%) > > diff --git a/ArmVirtPkg/ArmVirtPkg.ci.yaml b/ArmVirtPkg/ArmVirtPkg.ci.yam= l > index 506b0e72f0..b186d4eb42 100644 > --- a/ArmVirtPkg/ArmVirtPkg.ci.yaml > +++ b/ArmVirtPkg/ArmVirtPkg.ci.yaml > @@ -24,7 +24,6 @@ > ], > ## Both file path and directory path are accepted. > "IgnoreFiles": [ > - "Library/PlatformBootManagerLib/PlatformBm.c" > ] > }, > ## options defined .pytool/Plugin/CompilerPlugin > diff --git a/ArmVirtPkg/ArmVirtPkg.dec b/ArmVirtPkg/ArmVirtPkg.dec > index 315db4e8ea..6aa5ea05f4 100644 > --- a/ArmVirtPkg/ArmVirtPkg.dec > +++ b/ArmVirtPkg/ArmVirtPkg.dec > @@ -27,7 +27,6 @@ > =20 > [LibraryClasses] > ArmVirtMemInfoLib|Include/Library/ArmVirtMemInfoLib.h > - FdtSerialPortAddressLib|Include/Library/FdtSerialPortAddressLib.h > =20 > [Guids.common] > gArmVirtTokenSpaceGuid =3D { 0x0B6F5CA7, 0x4F53, 0x445A, { 0xB7, 0x6E= , 0x2E, 0x36, 0x5B, 0x80, 0x63, 0x66 } } > diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc > index 147180f645..e48c75b5e9 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 c22a422353..668a65ba64 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/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 92% > rename from ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManager= Lib.inf > rename to OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManager= Lib.inf > index 1ddcd107d2..f2fb69bd3c 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] > @@ -29,7 +29,6 @@ > QemuKernel.c > =20 > [Packages] > - ArmVirtPkg/ArmVirtPkg.dec > MdeModulePkg/MdeModulePkg.dec > MdePkg/MdePkg.dec > OvmfPkg/OvmfPkg.dec > @@ -56,15 +55,15 @@ > UefiRuntimeServicesTableLib > =20 > [FixedPcd] > - gUefiOvmfPkgTokenSpaceGuid.PcdUninstallMemAttrProtocol > gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate > gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits > gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity > gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits > + gUefiOvmfPkgTokenSpaceGuid.PcdUninstallMemAttrProtocol > =20 > [Pcd] > - gUefiOvmfPkgTokenSpaceGuid.PcdTerminalTypeGuidBuffer > gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut > + gUefiOvmfPkgTokenSpaceGuid.PcdTerminalTypeGuidBuffer > =20 > [Guids] > gEfiEndOfDxeEventGroupGuid > 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 > diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec > index a03c30995b..2ed7863a98 100644 > --- a/OvmfPkg/OvmfPkg.dec > +++ b/OvmfPkg/OvmfPkg.dec > @@ -144,6 +144,10 @@ > # > HardwareInfoLib|Include/Library/HardwareInfoLib.h > =20 > + ## @libraryclass FdtSerialPortAddressLib > + # > + FdtSerialPortAddressLib|Include/Library/FdtSerialPortAddressLib.h > + > [Guids] > gUefiOvmfPkgTokenSpaceGuid =3D {0x93bb96af, 0xb9f2, 0x4eb8= , {0x94, 0x62, 0xe0, 0xba, 0x74, 0x56, 0x42, 0x36}} > gEfiXenInfoGuid =3D {0xd3b46f3b, 0xd441, 0x1244= , {0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d}} -=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 (#113348): https://edk2.groups.io/g/devel/message/113348 Mute This Topic: https://groups.io/mt/103591221/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- --------------VaADwl1djB0GVgXpok3rvyeJ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Ard, Leif, Sami, Gred,

Can you please help to review this patch?


=
Thanks,
Chao
On 2024/1/5 17:45, 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>
---
 ArmVirtPkg/ArmVirtPkg.ci.yaml                              | 1 -
 ArmVirtPkg/ArmVirtPkg.dec                                  | 1 -
 ArmVirtPkg/ArmVirtQemu.dsc                                 | 2 +-
 ArmVirtPkg/ArmVirtQemuKernel.dsc                           | 2 +-
 .../Library/PlatformBootManagerLibLight}/PlatformBm.c      | 0
 .../Library/PlatformBootManagerLibLight}/PlatformBm.h      | 0
 .../PlatformBootManagerLib.inf                             | 7 +++----
 .../Library/PlatformBootManagerLibLight}/QemuKernel.c      | 0
 OvmfPkg/OvmfPkg.dec                                        | 4 ++++
 9 files changed, 9 insertions(+), 8 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 (92%)
 rename {ArmVirtPkg/Library/PlatformBootManagerLib =3D> OvmfPkg/Library/=
PlatformBootManagerLibLight}/QemuKernel.c (100%)

diff --git a/ArmVirtPkg/ArmVirtPkg.ci.yaml b/ArmVirtPkg/ArmVirtPkg.ci.yaml
index 506b0e72f0..b186d4eb42 100644
--- a/ArmVirtPkg/ArmVirtPkg.ci.yaml
+++ b/ArmVirtPkg/ArmVirtPkg.ci.yaml
@@ -24,7 +24,6 @@
         ],
         ## Both file path and directory path are accepted.
         "IgnoreFiles": [
-            "Library/PlatformBootManagerLib/PlatformBm.c"
         ]
     },
     ## options defined .pytool/Plugin/CompilerPlugin
diff --git a/ArmVirtPkg/ArmVirtPkg.dec b/ArmVirtPkg/ArmVirtPkg.dec
index 315db4e8ea..6aa5ea05f4 100644
--- a/ArmVirtPkg/ArmVirtPkg.dec
+++ b/ArmVirtPkg/ArmVirtPkg.dec
@@ -27,7 +27,6 @@
=20
 [LibraryClasses]
   ArmVirtMemInfoLib|Include/Library/ArmVirtMemInfoLib.h
-  FdtSerialPortAddressLib|Include/Library/FdtSerialPortAddressLib.h
=20
 [Guids.common]
   gArmVirtTokenSpaceGuid =3D { 0x0B6F5CA7, 0x4F53, 0x445A, { 0xB7, 0x6E, 0=
x2E, 0x36, 0x5B, 0x80, 0x63, 0x66 } }
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 147180f645..e48c75b5e9 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 c22a422353..668a65ba64 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/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 92%
rename from ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLi=
b.inf
rename to OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManagerLi=
b.inf
index 1ddcd107d2..f2fb69bd3c 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]
@@ -29,7 +29,6 @@
   QemuKernel.c
=20
 [Packages]
-  ArmVirtPkg/ArmVirtPkg.dec
   MdeModulePkg/MdeModulePkg.dec
   MdePkg/MdePkg.dec
   OvmfPkg/OvmfPkg.dec
@@ -56,15 +55,15 @@
   UefiRuntimeServicesTableLib
=20
 [FixedPcd]
-  gUefiOvmfPkgTokenSpaceGuid.PcdUninstallMemAttrProtocol
   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate
   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits
   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity
   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits
+  gUefiOvmfPkgTokenSpaceGuid.PcdUninstallMemAttrProtocol
=20
 [Pcd]
-  gUefiOvmfPkgTokenSpaceGuid.PcdTerminalTypeGuidBuffer
   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
+  gUefiOvmfPkgTokenSpaceGuid.PcdTerminalTypeGuidBuffer
=20
 [Guids]
   gEfiEndOfDxeEventGroupGuid
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
diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec
index a03c30995b..2ed7863a98 100644
--- a/OvmfPkg/OvmfPkg.dec
+++ b/OvmfPkg/OvmfPkg.dec
@@ -144,6 +144,10 @@
   #
   HardwareInfoLib|Include/Library/HardwareInfoLib.h
=20
+  ##  @libraryclass  FdtSerialPortAddressLib
+  #
+  FdtSerialPortAddressLib|Include/Library/FdtSerialPortAddressLib.h
+
 [Guids]
   gUefiOvmfPkgTokenSpaceGuid            =3D {0x93bb96af, 0xb9f2, 0x4eb8, {=
0x94, 0x62, 0xe0, 0xba, 0x74, 0x56, 0x42, 0x36}}
   gEfiXenInfoGuid                       =3D {0xd3b46f3b, 0xd441, 0x1244, {=
0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d}}
_._,_._,_

Groups.io Links:

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

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

_._,_._,_
--------------VaADwl1djB0GVgXpok3rvyeJ--