Reviewed-by: Jiewen Yao <[email protected]> > -----Original Message----- > From: [email protected] <[email protected]> On Behalf Of Gerd > Hoffmann > Sent: Monday, December 6, 2021 8:19 PM > To: [email protected]; [email protected] > Subject: Re: [edk2-devel] [PATCH] OvmfPkg-EmuVariableFvbRuntimeDxe: > Support Access To Memory Above 4G > > 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 (#84657): https://edk2.groups.io/g/devel/message/84657 Mute This Topic: https://groups.io/mt/87534620/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
