From nobody Fri Apr 19 20:39:08 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+91967+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+91967+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1659079343; cv=none; d=zohomail.com; s=zohoarc; b=mA/9u1JTrCmzcTZh904vLTInqZ9yf4OI43R4OYFaS4s+68WSdFduwGL5CQD7BLIhIvCl3n+Pz1OR03uCYJheOqOeEZujQGcSQrHi8HKnkH9twlc7ccAmGwkNV2C2TB0blbfm9azTRnrgttsba6ZZpWGvfdbvmSUwFeGP0nRvBvA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1659079343; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=ryzjLgSACJkg8vcCeKtcah9OOxfX5hn9jS+DaQsInAY=; b=ktmy48UkY3oSPXCihrEXka833UnPfvOTpi0ZMZ1f3kdW8FkupC9E24UYnNLWIhxxsMo3Csv8ZN45AAditHwiQ83LjOPywBXZPQe6bk/1JY80/8yy5lDsnLfHL50ukrHDIDRmsX9wHclO5tpcKIw5Sn8HIppreMfWsrv1sWMxdII= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+91967+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1659079343469726.3296070835503; Fri, 29 Jul 2022 00:22:23 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id oFP6YY1788612xU57ssrrehz; Fri, 29 Jul 2022 00:22:23 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.5361.1659079341996495571 for ; Fri, 29 Jul 2022 00:22:22 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4D24F106F; Fri, 29 Jul 2022 00:22:22 -0700 (PDT) X-Received: from entos-thunderx2-desktop.shanghai.arm.com (entos-thunderx2-desktop.shanghai.arm.com [10.169.212.232]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D8E883F73B; Fri, 29 Jul 2022 00:22:19 -0700 (PDT) From: "Jianyong Wu" To: devel@edk2.groups.io, Sami.Mujawar@arm.com Cc: ard.biesheuvel@linaro.org, justin.he@arm.com, jianyong.wu@arm.com Subject: [edk2-devel] [PATCH 1/2] CloudHv/arm: add PeiMemInfoLib Date: Fri, 29 Jul 2022 15:21:45 +0800 Message-Id: <20220729072146.169750-2-jianyong.wu@arm.com> In-Reply-To: <20220729072146.169750-1-jianyong.wu@arm.com> References: <20220729072146.169750-1-jianyong.wu@arm.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jianyong.wu@arm.com X-Gm-Message-State: WyLS1OwnRZZuiu0MWvbr8Z9Ex1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1659079343; bh=D2HLWpoyHn5G+m9xrL7wwMSGhpXQvjfz9Mr+1VudV3o=; h=Cc:Date:From:Reply-To:Subject:To; b=it2+qsXHUfX5lAiG0EHij3hmmIaIuGtr9luTql2zW0CT27TH5jQuRWZ3dUXxb6HhNCH pnz75JgLE0fYa8/nQr7uTrXSsGrP8CwYPoPRMbKuoWUohvhcOMZrDN+xsMFr/EE9cg+dn R5fefxTFJN/xb2S1gv+CWsV6fqao0jfwmHE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1659079345015100007 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Memory layout in CLoud Hypervisor for arm is changed and is different with Qemu, thus we should build its own PeiMemInfoLib. The main change in the memory layout is that normal ram may not contiguous under 4G. The top 64M under 4G is reserved for 32bit device. What this patch does: 1. get all of the memory node from DT; 2. Init page table for each memory node; 3. Add all of the memory nodes to Hob; Signed-off-by: Jianyong Wu --- .../CloudHvVirtMemInfoLib.c | 251 ++++++++++++++++++ .../CloudHvVirtMemInfoPeiLib.inf | 46 ++++ 2 files changed, 297 insertions(+) create mode 100755 ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMem= InfoLib.c create mode 100755 ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMem= InfoPeiLib.inf diff --git a/ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoLib= .c b/ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoLib.c new file mode 100755 index 0000000000..7ae24641d3 --- /dev/null +++ b/ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoLib.c @@ -0,0 +1,251 @@ +/** @file + + Copyright (c) 2022, Arm Limited. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include + +#include +#include +#include +#include +#include +#include +#include + +#include + +// The first memnory node is the one whose base address is the lowest. +UINT64 FirMemNodeBase =3D 0, FirMemNodeSize =3D 0; +// +// Cloud Hypervisor may have more than one memory nodes. Even there is no = limit for that, +// I think 10 is enough in general. +// +#define CLOUDHV_MAX_MEM_NODE_NUM 10 + +// Record memory node info (base address and size) +struct CloudHvMemNodeInfo { + UINT64 Base; + UINT64 Size; +}; + +struct CloudHvMemNodeInfo CloudHvMemNode[CLOUDHV_MAX_MEM_NODE_NUM]; + +RETURN_STATUS +EFIAPI +CloudHvVirtMemInfoPeiLibConstructor ( + VOID + ) +{ + VOID *DeviceTreeBase; + EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttributes; + INT32 Node, Prev; + UINT64 CurBase, MemBase; + UINT64 CurSize; + CONST CHAR8 *Type; + INT32 Len; + CONST UINT64 *RegProp; + RETURN_STATUS PcdStatus; + UINT8 Index; + + ZeroMem (CloudHvMemNode, sizeof(CloudHvMemNode[0]) * CLOUDHV_MAX_MEM_NOD= E_NUM); + + Index =3D 0; + MemBase =3D FixedPcdGet64 (PcdSystemMemoryBase); + ResourceAttributes =3D ( + EFI_RESOURCE_ATTRIBUTE_PRESENT | + EFI_RESOURCE_ATTRIBUTE_INITIALIZED | + EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE | + EFI_RESOURCE_ATTRIBUTE_TESTED + ); + DeviceTreeBase =3D (VOID *)(UINTN)PcdGet64 (PcdDeviceTreeInitialBaseAddr= ess); + ASSERT (DeviceTreeBase !=3D NULL); + + // + // Make sure we have a valid device tree blob + // + ASSERT (fdt_check_header (DeviceTreeBase) =3D=3D 0); + + // + // Look for the lowest memory node + // + for (Prev =3D 0; ; Prev =3D Node) { + Node =3D fdt_next_node (DeviceTreeBase, Prev, NULL); + if (Node < 0) { + break; + } + + // + // Check for memory node + // + Type =3D fdt_getprop (DeviceTreeBase, Node, "device_type", &Len); + if (Type && (AsciiStrnCmp (Type, "memory", Len) =3D=3D 0)) { + // + // Get the 'reg' property of this node. For now, we will assume + // two 8 byte quantities for base and size, respectively. + // + RegProp =3D fdt_getprop (DeviceTreeBase, Node, "reg", &Len); + if ((RegProp !=3D 0) && (Len =3D=3D (2 * sizeof (UINT64)))) { + CurBase =3D fdt64_to_cpu (ReadUnaligned64 (RegProp)); + CurSize =3D fdt64_to_cpu (ReadUnaligned64 (RegProp + 1)); + + DEBUG (( + DEBUG_INFO, + "%a: System RAM @ 0x%lx - 0x%lx\n", + __FUNCTION__, + CurBase, + CurBase + CurSize - 1 + )); + + if (CurBase =3D=3D MemBase) { + FirMemNodeBase =3D CurBase; + FirMemNodeSize =3D CurSize; + } + + CloudHvMemNode[Index].Base =3D CurBase; + CloudHvMemNode[Index].Size =3D CurSize; + Index++; + // We should build Hob seperately for the memory node except the f= irst one + if (CurBase !=3D MemBase) { + BuildResourceDescriptorHob ( + EFI_RESOURCE_SYSTEM_MEMORY, + ResourceAttributes, + CurBase, + CurSize + ); + } + if (Index >=3D CLOUDHV_MAX_MEM_NODE_NUM) { + DEBUG (( + DEBUG_WARN, + "%a: memory node larger than %d will not be included into Memo= ry System\n", + __FUNCTION__, + CLOUDHV_MAX_MEM_NODE_NUM + )); + break; + } + } else { + DEBUG (( + DEBUG_ERROR, + "%a: Failed to parse FDT memory node\n", + __FUNCTION__ + )); + } + } + } + + // + // Make sure the start of DRAM matches our expectation + // + ASSERT (FixedPcdGet64 (PcdSystemMemoryBase) =3D=3D FirMemNodeBase); + PcdStatus =3D PcdSet64S (PcdSystemMemorySize, FirMemNodeSize); + ASSERT_RETURN_ERROR (PcdStatus); + ASSERT ( + (((UINT64)PcdGet64 (PcdFdBaseAddress) + + (UINT64)PcdGet32 (PcdFdSize)) <=3D FirMemNodeBase) || + ((UINT64)PcdGet64 (PcdFdBaseAddress) >=3D (FirMemNodeBase + FirMemNode= Size)) + ); + + return RETURN_SUCCESS; +} + +// Number of Virtual Memory Map Descriptors +#define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS (4 + CLOUDHV_MAX_MEM_NODE_NUM) + +// +// Core peripherals such as the UART, the GIC and the RTC are +// all mapped in the 'miscellaneous device I/O' region, which we just map +// in its entirety rather than device by device. Note that it does not +// cover any of the NOR flash banks or PCI resource windows. +// +#define MACH_VIRT_PERIPH_BASE 0x00400000 +#define MACH_VIRT_PERIPH_SIZE 0x0FC00000 + +// +// The top of the 64M memory region under 4GB reserved for device +// +#define TOP_32BIT_DEVICE_BASE 0xFC000000 +#define TOP_32BIT_DEVICE_SIZE 0x04000000 + +/** + Return the Virtual Memory Map of your platform + + This Virtual Memory Map is used by MemoryInitPei Module to initialize th= e MMU + on your platform. + + @param[out] VirtualMemoryMap Array of ARM_MEMORY_REGION_DESCRIPTOR + describing a Physical-to-Virtual Memory + mapping. This array must be ended by a + zero-filled entry. The allocated memory + will not be freed. + +**/ +VOID +ArmVirtGetMemoryMap ( + OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap + ) +{ + ARM_MEMORY_REGION_DESCRIPTOR *VirtualMemoryTable; + UINT8 Index =3D 0, i =3D 0; + + ASSERT (VirtualMemoryMap !=3D NULL); + + VirtualMemoryTable =3D AllocatePool ( + sizeof (ARM_MEMORY_REGION_DESCRIPTOR) * + MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS + ); + + if (VirtualMemoryTable =3D=3D NULL) { + DEBUG ((DEBUG_ERROR, "%a: Error: Failed AllocatePool()\n", __FUNCTION_= _)); + return; + } + // System DRAM + while (CloudHvMemNode[i].Size !=3D 0) { + VirtualMemoryTable[Index].PhysicalBase =3D CloudHvMemNode[i].Base; + VirtualMemoryTable[Index].VirtualBase =3D CloudHvMemNode[i].Base; + VirtualMemoryTable[Index].Length =3D CloudHvMemNode[i].Size; + VirtualMemoryTable[Index].Attributes =3D ARM_MEMORY_REGION_ATTRIBUTE= _WRITE_BACK; + + DEBUG (( + DEBUG_INFO, + "%a: Dumping System DRAM Memory Node%d Map:\n" + "\tPhysicalBase: 0x%lX\n" + "\tVirtualBase: 0x%lX\n" + "\tLength: 0x%lX\n", + __FUNCTION__, + i, + VirtualMemoryTable[Index].PhysicalBase, + VirtualMemoryTable[Index].VirtualBase, + VirtualMemoryTable[Index].Length + )); + Index++; + i++; + } + // Memory mapped peripherals (UART, RTC, GIC, virtio-mmio, etc) + VirtualMemoryTable[Index].PhysicalBase =3D MACH_VIRT_PERIPH_BASE; + VirtualMemoryTable[Index].VirtualBase =3D MACH_VIRT_PERIPH_BASE; + VirtualMemoryTable[Index].Length =3D MACH_VIRT_PERIPH_SIZE; + VirtualMemoryTable[Index].Attributes =3D ARM_MEMORY_REGION_ATTRIBUTE_D= EVICE; + Index++; + + // Map the FV region as normal executable memory + VirtualMemoryTable[Index].PhysicalBase =3D PcdGet64 (PcdFvBaseAddress); + VirtualMemoryTable[Index].VirtualBase =3D VirtualMemoryTable[Index].Phy= sicalBase; + VirtualMemoryTable[Index].Length =3D FixedPcdGet32 (PcdFvSize); + VirtualMemoryTable[Index].Attributes =3D ARM_MEMORY_REGION_ATTRIBUTE_W= RITE_BACK; + Index++; + + // Memory mapped for 32bit device (like TPM) + VirtualMemoryTable[Index].PhysicalBase =3D TOP_32BIT_DEVICE_BASE; + VirtualMemoryTable[Index].VirtualBase =3D TOP_32BIT_DEVICE_BASE; + VirtualMemoryTable[Index].Length =3D TOP_32BIT_DEVICE_SIZE; + VirtualMemoryTable[Index].Attributes =3D ARM_MEMORY_REGION_ATTRIBUTE_D= EVICE; + Index++; + + // End of Table + ZeroMem (&VirtualMemoryTable[Index], sizeof (ARM_MEMORY_REGION_DESCRIPTO= R)); + + *VirtualMemoryMap =3D VirtualMemoryTable; +} diff --git a/ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoPei= Lib.inf b/ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoPeiLib= .inf new file mode 100755 index 0000000000..5dd96faadd --- /dev/null +++ b/ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoPeiLib.inf @@ -0,0 +1,46 @@ +#/* @file +# +# Copyright (c) 2011-2015, ARM Limited. All rights reserved. +# Copyright (c) 2014-2017, Linaro Limited. All rights reserved. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +#*/ + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D QemuVirtMemInfoPeiLib + FILE_GUID =3D 0c4d10cf-d949-49b4-bd13-47a4ae22efce + MODULE_TYPE =3D BASE + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D ArmVirtMemInfoLib|PEIM + CONSTRUCTOR =3D CloudHvVirtMemInfoPeiLibConstructor + +[Sources] + CloudHvVirtMemInfoLib.c + +[Packages] + ArmPkg/ArmPkg.dec + ArmVirtPkg/ArmVirtPkg.dec + EmbeddedPkg/EmbeddedPkg.dec + MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + +[LibraryClasses] + ArmLib + BaseMemoryLib + DebugLib + FdtLib + PcdLib + MemoryAllocationLib + +[Pcd] + gArmTokenSpaceGuid.PcdFdBaseAddress + gArmTokenSpaceGuid.PcdFvBaseAddress + gArmTokenSpaceGuid.PcdSystemMemoryBase + gArmTokenSpaceGuid.PcdSystemMemorySize + +[FixedPcd] + gArmTokenSpaceGuid.PcdFdSize + gArmTokenSpaceGuid.PcdFvSize + gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress --=20 2.17.1 -=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 (#91967): https://edk2.groups.io/g/devel/message/91967 Mute This Topic: https://groups.io/mt/92686349/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 19 20:39:08 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+91968+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+91968+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1659079345; cv=none; d=zohomail.com; s=zohoarc; b=RvMXJ5AEn03EjvHwzsLqwngWaEcu7pUgtg4jrrNHghWi8Gjunv9U5EwtEKQRYVcAFDhS1BuEcwsQHDOo10XlPdI2z0Ly/Y5kUE7N0pwIYmFC7skvVXJqNpipupDfDtgrgVU+JfgAMKhIDJEKY6T4LA14bop92LBAsjtmMRPqMAc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1659079345; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=OqQZ+grEPSdsWZxVkeM8RcS5X3vPY0u8idW0Y980BHM=; b=SdxIsW7Eegs8pa8iw5kPSIQ/teojs3wZhu2smUKz7cZSKykyKEjdTZ/0rjSLVbx8BXhH8+uKPbVk+q5KUv38aHlsG+f64UKnfT7Z5WX+bQPFuEyweW9PCrWD7+1mMLumyHh6aV84n08XhGP1USZFwbgFR3RTJadcBOFtTdhZc8I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+91968+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1659079345525660.8057688198688; Fri, 29 Jul 2022 00:22:25 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id umSgYY1788612xm6LLwpSPdH; Fri, 29 Jul 2022 00:22:25 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.5361.1659079344473930642 for ; Fri, 29 Jul 2022 00:22:24 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AA07B106F; Fri, 29 Jul 2022 00:22:24 -0700 (PDT) X-Received: from entos-thunderx2-desktop.shanghai.arm.com (entos-thunderx2-desktop.shanghai.arm.com [10.169.212.232]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3218C3F73B; Fri, 29 Jul 2022 00:22:21 -0700 (PDT) From: "Jianyong Wu" To: devel@edk2.groups.io, Sami.Mujawar@arm.com Cc: ard.biesheuvel@linaro.org, justin.he@arm.com, jianyong.wu@arm.com Subject: [edk2-devel] [PATCH 2/2] CloudHv/arm: switch PeiMemLib to its own Date: Fri, 29 Jul 2022 15:21:46 +0800 Message-Id: <20220729072146.169750-3-jianyong.wu@arm.com> In-Reply-To: <20220729072146.169750-1-jianyong.wu@arm.com> References: <20220729072146.169750-1-jianyong.wu@arm.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jianyong.wu@arm.com X-Gm-Message-State: U98JBMHtavt0BvFWM1b4slrGx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1659079345; bh=6k8/X2qgY08tTqoq0gIhSLxkym6Fe/4LWaKEb+HcaVc=; h=Cc:Date:From:Reply-To:Subject:To; b=r2A3MfvrUt6CCWpSVjI1JLr5m00VA0CeQ2aUU/QxQhCS9s9ut0WIS0O74R6GCpzzBfV f8GikWF1LrJL9Z105Oncv88H1zl/8YTjQaV4zwv5Ui+1cSdv8jEhEyE/2y37VUVRks9RG LTQqEiGRtiJZR/p8f+kl8LaFtPA8Co41J48= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1659079346902100011 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" As Cloud Hypervisor has its own PeiMemLib, change it in dsc file accordingly. Signed-off-by: Jianyong Wu Reviewed-by: Sami Mujawar --- ArmVirtPkg/ArmVirtCloudHv.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmVirtPkg/ArmVirtCloudHv.dsc b/ArmVirtPkg/ArmVirtCloudHv.dsc index 7559386a1d..7ca7a391d9 100644 --- a/ArmVirtPkg/ArmVirtCloudHv.dsc +++ b/ArmVirtPkg/ArmVirtCloudHv.dsc @@ -60,7 +60,7 @@ !include MdePkg/MdeLibs.dsc.inc =20 [LibraryClasses.common.PEIM] - ArmVirtMemInfoLib|ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoP= eiLib.inf + ArmVirtMemInfoLib|ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMe= mInfoPeiLib.inf =20 [LibraryClasses.common.DXE_DRIVER] ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor= tStatusCodeLib.inf --=20 2.17.1 -=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 (#91968): https://edk2.groups.io/g/devel/message/91968 Mute This Topic: https://groups.io/mt/92686350/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-