On 8/19/21 10:11 AM, Gerd Hoffmann wrote: > Add a bool parameter to ScanOrAdd64BitE820Ram to explicitly specify > whenever ScanOrAdd64BitE820Ram should add HOBs for high memory (above > 4G) or scan only. > > Also add a lowmem parameter so ScanOrAdd64BitE820Ram > can report the memory size below 4G. > > This allows a more flexible usage of ScanOrAdd64BitE820Ram, > a followup patch will use it for all memory detection. > > No functional change. > > Signed-off-by: Gerd Hoffmann <kra...@redhat.com> > --- > OvmfPkg/PlatformPei/MemDetect.c | 28 +++++++++++++++++++++------- > 1 file changed, 21 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daude <phi...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79789): https://edk2.groups.io/g/devel/message/79789 Mute This Topic: https://groups.io/mt/84992115/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-