Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 60e54e9211a99446dd6c168ba8e5b87e0161b2a3
https://github.com/tianocore/edk2/commit/60e54e9211a99446dd6c168ba8e5b87e0161b2a3
Author: Manos Pitsidianakis <[email protected]>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c
Log Message:
-----------
ArmVirtPkg: fix boot under Xen
When booting under Xen/Arm64 with a flattened devicetree, XenioFdtDxe.c
performs a runtime assert on the size of the hypervisor node. At some
point the hypervisor devicetree node changed size in upstream Xen, which
makes booting under Xen impossible because the assertion fails:
ASSERT [XenioFdtDxe] XenioFdtDxe.c(64): RegSize == 2 * sizeof (UINT64)
By putting a debug print in InitializeXenioFdtDxe we can see the value
of RegSize is 48, instead of 2 * sizeof (UINT64)=16.
Change the equality check to equal or greater than (>=).
Signed-off-by: Manos Pitsidianakis <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits