Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 557dede8a6b88ee14f541b7f96ff60830b98329a
      
https://github.com/tianocore/edk2/commit/557dede8a6b88ee14f541b7f96ff60830b98329a
  Author: Gerd Hoffmann <[email protected]>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M OvmfPkg/PlatformPei/MemDetect.c

  Log Message:
  -----------
  OvmfPkg/PlatformPei: ScanOrAdd64BitE820Ram improvements

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.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3593
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>


  Commit: 759e3c6d2128f6b2673f95437854f067a532e59a
      
https://github.com/tianocore/edk2/commit/759e3c6d2128f6b2673f95437854f067a532e59a
  Author: Gerd Hoffmann <[email protected]>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M OvmfPkg/PlatformPei/MemDetect.c

  Log Message:
  -----------
  OvmfPkg/PlatformPei: prefer etc/e820 for memory detection

Prefer the e820 map provided via qemu firmware config interface
for memory detection.  Use rtc cmos only as fallback, which should
be rarely needed these days as qemu supports etc/e820 since 2013.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3593
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>


  Commit: 41d8bb30386ceab55787fc9f5aac6434e2493e27
      
https://github.com/tianocore/edk2/commit/41d8bb30386ceab55787fc9f5aac6434e2493e27
  Author: Gerd Hoffmann <[email protected]>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M OvmfPkg/PlatformPei/MemDetect.c

  Log Message:
  -----------
  OvmfPkg/PlatformPei: stop using cmos for memory detection

Not needed for qemu 1.7 (released in 2013) and newer.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3593
Signed-off-by: Gerd Hoffmann <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/ec37fd9c1fbc...41d8bb30386c


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to