Don't use cmos for memory detection if possible. qemu provides the etc/e820 firmware config file as alternative since 2013.
v2: - fix lowmem detection - pick up review tags - add rfc patch to completely drop cmos support. Gerd Hoffmann (3): OvmfPkg/PlatformPei: ScanOrAdd64BitE820Ram improvements OvmfPkg/PlatformPei: prefer etc/e820 for memory detection RFC: OvmfPkg/PlatformPei: stop using cmos for memory detection OvmfPkg/PlatformPei/MemDetect.c | 83 +++++++++++---------------------- 1 file changed, 27 insertions(+), 56 deletions(-) -- 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79838): https://edk2.groups.io/g/devel/message/79838 Mute This Topic: https://groups.io/mt/85157656/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-