From b2b548c05750105d51fe86770974fffc1bafd50a Mon Sep 17 00:00:00 2001 From: Sami Mujawar Date: Fri, 26 Jun 2026 17:23:59 +0100 Subject: [PATCH] ArmVirtPkg: Include MapMmioLib in ArmVirt.dsc.inc Add the MapMmioLib instance to the ArmVirt DXE_DRIVER library class list so DXE drivers can map MMIO regions through the common helper. Also add the runtime-driver library class mapping in ArmVirt.dsc.inc so that runtime modules like KvmtoolRtcFdtClientLib can use MapMmioLib. Signed-off-by: Sami Mujawar --- ArmVirtPkg/ArmVirt.dsc.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index b8c0cb5891..195e6595db 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -280,6 +280,7 @@ DEFINE FD_SIZE_IN_MB = 3 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + MapMmioLib|OvmfPkg/Library/MapMmioLib/MapMmioLib.inf [LibraryClasses.common.UEFI_APPLICATION] PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf @@ -287,6 +288,7 @@ DEFINE FD_SIZE_IN_MB = 3 [LibraryClasses.common.DXE_RUNTIME_DRIVER] MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + MapMmioLib|OvmfPkg/Library/MapMmioLib/MapMmioLib.inf !if $(TARGET) != RELEASE DebugLib|ArmVirtPkg/Library/DebugLibFdtPL011Uart/DxeRuntimeDebugLibFdtPL011Uart.inf !endif