[PATCH v3 0/3] OvmfPkg/PlatformPei: prefer etc/e820 for memory detection


Gerd Hoffmann
 

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

Join devel@edk2.groups.io to automatically receive all group messages.