On Thu, 2024-05-30 at 11:03 +0200, Gerd Hoffmann wrote:
>   Hi,
> 
> > > -    SetMem (&MtrrSettings.Fixed, sizeof MtrrSettings.Fixed,
> > > 0x06);
> > > +    SetMem (&MtrrSettings.Fixed, sizeof MtrrSettings.Fixed,
> > > MTRR_CACHE_WRITE_BACK);
> > >      ZeroMem (&MtrrSettings.Variables, sizeof
> > > MtrrSettings.Variables);
> > > -    MtrrSettings.MtrrDefType |= BIT11 | BIT10 | 6;
> > > +    MtrrSettings.MtrrDefType |= BIT10;
> > >      MtrrSetAllMtrrs (&MtrrSettings);
> > >  
> > >      //
> > 
> > This has to be changed for OvmfPkg/Bhyve/PlatformPei/MemDetect.c
> > too.
> 
> I have a draft PR open with this fixed:
>       https://github.com/tianocore/edk2/pull/5696
> 
> Can you check this works for bhyve?
> 
> thanks,
>   Gerd
> 

Works. Thanks!


-- 
Kind regards,
Corvin


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119423): https://edk2.groups.io/g/devel/message/119423
Mute This Topic: https://groups.io/mt/104052591/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to