Home | History | Annotate | Download | only in PiSmmCpuDxeSmm

Lines Matching defs:BspIndex

123   UINTN                             BspIndex;

125 BspIndex = mSmmMpSyncData->BspIndex;
127 WaitForSemaphore (mSmmMpSyncData->CpuData[BspIndex].Run);
142 UINTN BspIndex;
144 BspIndex = mSmmMpSyncData->BspIndex;
146 if (Index != BspIndex && *(mSmmMpSyncData->CpuData[Index].Present)) {
313 ASSERT (CpuIndex == mSmmMpSyncData->BspIndex);
520 // Reset BspIndex to -1, meaning BSP has not been elected.
523 mSmmMpSyncData->BspIndex = (UINT32)-1;
549 UINTN BspIndex;
566 if (mSmmMpSyncData->BspIndex != -1) {
570 BspIndex = mSmmMpSyncData->BspIndex;
571 ASSERT (CpuIndex != BspIndex);
576 SendSmiIpi ((UINT32)gSmmCpuPrivate->ProcessorInfo[BspIndex].ProcessorId);
607 BspIndex = mSmmMpSyncData->BspIndex;
608 ASSERT (CpuIndex != BspIndex);
619 ReleaseSemaphore (mSmmMpSyncData->CpuData[BspIndex].Run);
636 ReleaseSemaphore (mSmmMpSyncData->CpuData[BspIndex].Run);
651 ReleaseSemaphore (mSmmMpSyncData->CpuData[BspIndex].Run);
691 ReleaseSemaphore (mSmmMpSyncData->CpuData[BspIndex].Run);
708 ReleaseSemaphore (mSmmMpSyncData->CpuData[BspIndex].Run);
723 ReleaseSemaphore (mSmmMpSyncData->CpuData[BspIndex].Run);
1180 mSmmMpSyncData->BspIndex = (UINT32)CpuIndex;
1187 (UINT32*)&mSmmMpSyncData->BspIndex,
1196 // "mSmmMpSyncData->BspIndex == CpuIndex" means this is the BSP
1198 if (mSmmMpSyncData->BspIndex == CpuIndex) {
1330 // Enable BSP election by setting BspIndex to -1
1332 mSmmMpSyncData->BspIndex = (UINT32)-1;