UefiCpuPkg/MpInitLib: Fix VS2012 build failure
Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
@@ -63,6 +63,11 @@ MicrocodeDetect (
|
|||||||
UINT32 ProcessorFlags;
|
UINT32 ProcessorFlags;
|
||||||
UINT32 ThreadId;
|
UINT32 ThreadId;
|
||||||
|
|
||||||
|
//
|
||||||
|
// set ProcessorFlags to suppress incorrect compiler/analyzer warnings
|
||||||
|
//
|
||||||
|
ProcessorFlags = 0;
|
||||||
|
|
||||||
if (CpuMpData->MicrocodePatchRegionSize == 0) {
|
if (CpuMpData->MicrocodePatchRegionSize == 0) {
|
||||||
//
|
//
|
||||||
// There is no microcode patches
|
// There is no microcode patches
|
||||||
|
Reference in New Issue
Block a user