[edk2-devel] [Patch 1/1] UefiCpuPkg/Library/MpInitLib: Fix AP VolatileRegisters race condition

Ni, Ray ray.ni at intel.com
Tue Jan 26 02:26:09 UTC 2021


> >     CpuMpData = (CPU_MP_DATA *) (Idtr.Base + Idtr.Limit + 1);
> > +    ASSERT (CpuMpData != NULL);

In this case, Idtr.Base, Idtr.Limit both equal to zero and CpuMpData is 1.
ASSERT () cannot trigger assertion here.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#70751): https://edk2.groups.io/g/devel/message/70751
Mute This Topic: https://groups.io/mt/80035510/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