/* Returns whether the specified processor is the BSP. */
STATIC BOOLEAN IsProcessorBSP(UINTN ProcessorIndex)
/* Returns whether the specified processor is the BSP. */
STATIC BOOLEAN IsProcessorBSP(UINTN ProcessorIndex)
{
  EFI_PROCESSOR_INFORMATION  *CpuInfo;
  CpuInfo = &mCpuMpData.CpuData[ProcessorIndex].Info;
  return (CpuInfo->StatusFlag & PROCESSOR_AS_BSP_BIT) != 0;
}