Home
last modified time | relevance | path

Searched refs:gSmmCpuPrivate (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuService.c59 if (gSmmCpuPrivate->ProcessorInfo[ProcessorNumber].ProcessorId == INVALID_APIC_ID) { in SmmGetProcessorInfo()
66 …CopyMem (ProcessorInfoBuffer, &gSmmCpuPrivate->ProcessorInfo[ProcessorNumber], sizeof (EFI_PROCESS… in SmmGetProcessorInfo()
95 if (gSmmCpuPrivate->ProcessorInfo[ProcessorNumber].ProcessorId == INVALID_APIC_ID) { in SmmSwitchBsp()
99 if (gSmmCpuPrivate->Operation[ProcessorNumber] != SmmCpuNone || in SmmSwitchBsp()
107 gSmmCpuPrivate->Operation[ProcessorNumber] = SmmCpuSwitchBsp; in SmmSwitchBsp()
150 if (gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId == ProcessorId) { in SmmAddProcessor()
161 gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId == INVALID_APIC_ID) { in SmmAddProcessor()
162 gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId = ProcessorId; in SmmAddProcessor()
163 gSmmCpuPrivate->ProcessorInfo[Index].StatusFlag = 0; in SmmAddProcessor()
166 &gSmmCpuPrivate->ProcessorInfo[Index].Location.Package, in SmmAddProcessor()
[all …]
DPiSmmCpuDxeSmm.c56 SMM_CPU_PRIVATE_DATA *gSmmCpuPrivate = &mSmmCpuPrivateData; variable
258 *(UINT64 *)Buffer = gSmmCpuPrivate->ProcessorInfo[CpuIndex].ProcessorId; in SmmReadSaveState()
350 if (ApicId == (UINT32)gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId) { in SmmInitHandler()
357 gSmmCpuPrivate->ProcessorInfo, in SmmInitHandler()
452 if (ApicId != (UINT32)gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId) { in SmmRelocateBases()
453 SendSmiIpi ((UINT32)gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId); in SmmRelocateBases()
615 gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus = mMaxNumberOfCpus; in PiCpuSmmEntry()
763gSmmCpuPrivate->ProcessorInfo = (EFI_PROCESSOR_INFORMATION *)AllocatePool (sizeof (EFI_PROCESSOR_I… in PiCpuSmmEntry()
764 ASSERT (gSmmCpuPrivate->ProcessorInfo != NULL); in PiCpuSmmEntry()
766gSmmCpuPrivate->Operation = (SMM_CPU_OPERATION *)AllocatePool (sizeof (SMM_CPU_OPERATION) * mMaxNu… in PiCpuSmmEntry()
[all …]
DMpService.c177 ProcessorInfo = gSmmCpuPrivate->ProcessorInfo; in AllCpusInSmmWithExceptions()
255 …if (!(*(mSmmMpSyncData->CpuData[Index].Present)) && gSmmCpuPrivate->ProcessorInfo[Index].Processor… in SmmWaitForApArrival()
256 SendSmiIpi ((UINT32)gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId); in SmmWaitForApArrival()
342 gSmmCpuPrivate->SmmCoreEntryContext.CurrentlyExecutingCpu = CpuIndex; in BSPHandler()
418 gSmmCpuPrivate->SmmCoreEntry (&gSmmCpuPrivate->SmmCoreEntryContext); in BSPHandler()
576 SendSmiIpi ((UINT32)gSmmCpuPrivate->ProcessorInfo[BspIndex].ProcessorId); in APHandler()
920 if (CpuIndex >= gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus) { in InternalSmmStartupThisAp()
921 …= gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus(%d)\n", CpuIndex, gSmmCpuPrivate->SmmCoreEntryC… in InternalSmmStartupThisAp()
924 if (CpuIndex == gSmmCpuPrivate->SmmCoreEntryContext.CurrentlyExecutingCpu) { in InternalSmmStartupThisAp()
934 if (gSmmCpuPrivate->Operation[CpuIndex] == SmmCpuRemove) { in InternalSmmStartupThisAp()
[all …]
DCpuS3.c578 gSmst->SmmStartupThisAp = gSmmCpuPrivate->SmmCoreEntryContext.SmmStartupThisAp; in RestoreSmmConfigurationInS3()
579 gSmst->CurrentlyExecutingCpu = gSmmCpuPrivate->SmmCoreEntryContext.CurrentlyExecutingCpu; in RestoreSmmConfigurationInS3()
580 gSmst->NumberOfCpus = gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; in RestoreSmmConfigurationInS3()
581 gSmst->CpuSaveStateSize = gSmmCpuPrivate->SmmCoreEntryContext.CpuSaveStateSize; in RestoreSmmConfigurationInS3()
582 gSmst->CpuSaveState = gSmmCpuPrivate->SmmCoreEntryContext.CpuSaveState; in RestoreSmmConfigurationInS3()
DPiSmmCpuDxeSmm.h176 extern SMM_CPU_PRIVATE_DATA *gSmmCpuPrivate;
DSmmProfile.c143 if (gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId == ApicId) { in GetCpuIndex()
872 mSmmProfileBase->NumCpus = gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; in InitSmmProfileInternal()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmmFuncsArch.c79 mGdtBufferSize = GdtTssTableSize * gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; in InitGdt()
85 for (Index = 0; Index < gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; Index++) { in InitGdt()
114 mGdtBufferSize = GdtTssTableSize * gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; in InitGdt()
120 for (Index = 0; Index < gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; Index++) { in InitGdt()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DSmmFuncsArch.c68 mGdtBufferSize = GdtTssTableSize * gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; in InitGdt()
74 for (Index = 0; Index < gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; Index++) { in InitGdt()