[edk2-devel] [PATCH 1/2] OvmfPkg/PlatformPei: ScanOrAdd64BitE820Ram improvements

Philippe Mathieu-Daudé philmd at redhat.com
Wed Aug 25 05:22:17 UTC 2021


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 <kraxel at redhat.com>
> ---
>  OvmfPkg/PlatformPei/MemDetect.c | 28 +++++++++++++++++++++-------
>  1 file changed, 21 insertions(+), 7 deletions(-)

Reviewed-by: Philippe Mathieu-Daude <philmd at 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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list