audk/OvmfPkg/EmuVariableFvbRuntimeDxe
lixianglai 2b20a34fd5 OvmfPkg-EmuVariableFvbRuntimeDxe: Support Access To Memory Above 4G
In FvbInitialize Function,
PcdFlashNvStorageVariableBase64 PcdFlashNvStorageFtwWorkingBase
PcdFlashNvStorageFtwSpareBase will not exceed 0x100000000,
Due to truncation and variable type limitations.
That leads to the NV variable cannot be saved to the memory above 4G.

Modify as follows:
1.Remove the forced type conversion of UINT32.
2.Use UINT64 type variables.

Signed-off-by: xianglai li <lixianglai@loongson.cn>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2021-12-11 16:13:07 +00:00
..
Fvb.c OvmfPkg-EmuVariableFvbRuntimeDxe: Support Access To Memory Above 4G 2021-12-11 16:13:07 +00:00
Fvb.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Fvb.inf OvmfPkg-EmuVariableFvbRuntimeDxe: Support Access To Memory Above 4G 2021-12-11 16:13:07 +00:00