On Mon, Dec 06, 2021 at 12:00:33PM +0800, xianglai wrote: > 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 <[email protected]>
Reviewed-by: Gerd Hoffmann <[email protected]> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#84401): https://edk2.groups.io/g/devel/message/84401 Mute This Topic: https://groups.io/mt/87534620/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
