[edk2-devel] [PATCH] OvmfPkg-EmuVariableFvbRuntimeDxe: Support Access To Memory Above 4G

Yao, Jiewen jiewen.yao at intel.com
Sat Dec 11 16:13:45 UTC 2021


Merged https://github.com/tianocore/edk2/pull/2290


> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Yao, Jiewen
> Sent: Saturday, December 11, 2021 11:36 PM
> To: devel at edk2.groups.io; kraxel at redhat.com; lixianglai at loongson.cn
> Subject: Re: [edk2-devel] [PATCH] OvmfPkg-EmuVariableFvbRuntimeDxe:
> Support Access To Memory Above 4G
> 
> Reviewed-by: Jiewen Yao <Jiewen.yao at intel.com>
> 
> > -----Original Message-----
> > From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Gerd
> > Hoffmann
> > Sent: Monday, December 6, 2021 8:19 PM
> > To: devel at edk2.groups.io; lixianglai at loongson.cn
> > 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 <lixianglai at loongson.cn>
> >
> > Reviewed-by: Gerd Hoffmann <kraxel at redhat.com>
> >
> >
> >
> >
> >
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84659): https://edk2.groups.io/g/devel/message/84659
Mute This Topic: https://groups.io/mt/87534620/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list