mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg/CpuDxe: suppress invalid warning about uninitialized variable
Cc: Eric Dong <eric.dong@intel.com> Cc: Wu Hao <hao.a.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Wu Hao <hao.a.wu@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
f9669f09fb
commit
1ea53108f6
|
@ -695,6 +695,11 @@ InitializeMpExceptionStackSwitchHandlers (
|
|||
EssData.Ia32.StackSwitchExceptionNumber = ExceptionNumber;
|
||||
EssData.Ia32.KnownGoodStackSize = FixedPcdGet32(PcdCpuKnownGoodStackSize);
|
||||
|
||||
//
|
||||
// Initialize Gdtr to suppress incorrect compiler/analyzer warnings.
|
||||
//
|
||||
Gdtr.Base = 0;
|
||||
Gdtr.Limit = 0;
|
||||
MpInitLibWhoAmI (&Bsp);
|
||||
for (Index = 0; Index < mNumberOfProcessors; ++Index) {
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue