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. v3: - fix CI failure. 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 | 84 +++++++++++---------------------- 1 file changed, 28 insertions(+), 56 deletions(-) -- 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80819): https://edk2.groups.io/g/devel/message/80819 Mute This Topic: https://groups.io/mt/85653727/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-