audk/OvmfPkg/Library/PeilessStartupLib
Gerd Hoffmann 124b765051 OvmfPkg/PlatformInitLib: Add PlatformGetLowMemoryCB
Add PlatformGetLowMemoryCB() callback function for use with
PlatformScanE820().  It stores the low memory size in
PlatformInfoHob->LowMemory.  This replaces calls to
PlatformScanOrAdd64BitE820Ram() with non-NULL LowMemory.

Write any actions done (setting LowMemory) to the firmware log
with INFO loglevel.

Also change PlatformGetSystemMemorySizeBelow4gb() to likewise set
PlatformInfoHob->LowMemory instead of returning the value.  Update
all Callers to the new convention.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2023-01-17 16:36:59 +00:00
..
X64 OvmfPkg/PeilessStartupLib: move mPageTablePool to stack 2022-09-28 00:31:16 +00:00
DxeLoad.c
Hob.c OvmfPkg/PlatformInitLib: Add PlatformGetLowMemoryCB 2023-01-17 16:36:59 +00:00
IntelTdx.c OvmfPkg/PeilessStartupLib: Delete TdxValidateCfv 2022-09-06 07:21:42 +00:00
PeilessStartup.c OvmfPkg/PlatformInitLib: Add PlatformGetLowMemoryCB 2023-01-17 16:36:59 +00:00
PeilessStartupInternal.h OvmfPkg/PeilessStartupLib: Delete TdxValidateCfv 2022-09-06 07:21:42 +00:00
PeilessStartupLib.inf OvmfPkg: Implement MeasureHobList/MeasureFvImage 2022-06-07 11:05:53 +00:00