Home
last modified time | relevance | path

Searched refs:ApicId (Results 1 – 25 of 34) sorted by relevance

12

/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicLib/
DBaseXApicLib.c183 IN UINT32 ApicId in SendIpi() argument
191 ASSERT (ApicId <= 0xff); in SendIpi()
211 WriteLocalApicReg (XAPIC_ICR_HIGH_OFFSET, ApicId << 24); in SendIpi()
304 UINT32 ApicId; in GetInitialApicId() local
322 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, 0, NULL, &RegEbx, NULL, &ApicId); in GetInitialApicId()
324 return ApicId; in GetInitialApicId()
343 UINT32 ApicId; in GetApicId() local
347 if ((ApicId = GetInitialApicId ()) < 0x100) { in GetApicId()
352 ApicId = ReadLocalApicReg (XAPIC_ID_OFFSET); in GetApicId()
353 ApicId >>= 24; in GetApicId()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicX2ApicLib/
DBaseXApicX2ApicLib.c222 IN UINT32 ApicId in SendIpi() argument
235 ASSERT (ApicId <= 0xff); in SendIpi()
260 MmioWrite32 (LocalApciBaseAddress + XAPIC_ICR_HIGH_OFFSET, ApicId << 24); in SendIpi()
282 MsrValue = LShiftU64 ((UINT64) ApicId, 32) | IcrLow; in SendIpi()
403 UINT32 ApicId; in GetInitialApicId() local
419 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, 0, NULL, &RegEbx, NULL, &ApicId); in GetInitialApicId()
421 return ApicId; in GetInitialApicId()
442 UINT32 ApicId; in GetApicId() local
445 ApicId = ReadLocalApicReg (XAPIC_ID_OFFSET); in GetApicId()
447 ApicId = ((InitApicId = GetInitialApicId ()) < 0x100) ? (ApicId >> 24) : InitApicId; in GetApicId()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/AcpiPlatform/
DAcpiPlatformHooks.c60 …if ((mCpuApicIdAcpiIdMapTable[Index].ApicId == AcpiLocalApic->ApicId) && mCpuApicIdAcpiIdMapTable[…
69 mCpuApicIdAcpiIdMapTable[Index].ApicId = AcpiLocalApic->ApicId;
90 return mCpuApicIdAcpiIdMapTable[Index].ApicId; in GetProcNumberInPackage()
107 …if (mCpuApicIdAcpiIdMapTable[Index].Flags && (((mCpuApicIdAcpiIdMapTable[Index].ApicId >> 0x04) & … in LocateCpuEistProtocol()
125 UINT32 ApicId;
149 ApicId = ProcessorId2ApicId (CpuIndex+1);
150 if (ApicId == (UINT32) -1) {
154 if (EistProt->ProcApicId == ApicId) {
306 NamePtr->Value = (mCpuApicIdAcpiIdMapTable[CpuIndex].ApicId >> 0x04) & 0x01; in PatchGv3SsdtTable()
323 …NamePtr->Value = GetProcNumberInPackage ((mCpuApicIdAcpiIdMapTable[CpuIndex].ApicId >> 0x04) & 0x0… in PatchGv3SsdtTable()
DAcpiPlatformHooks.h57 UINT8 ApicId;
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/
DLocalApicLib.h129 IN UINT32 ApicId,
156 IN UINT32 ApicId
180 IN UINT32 ApicId
209 IN UINT32 ApicId,
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuService.c160 if (mCpuHotPlugData.ApicId[Index] == ProcessorId && in SmmAddProcessor()
223 mCpuHotPlugData.ApicId[ProcessorNumber] = INVALID_APIC_ID; in SmmRemoveProcessor()
251 UINT64 ApicId; in SmmWhoAmI() local
260 ApicId = GetApicId (); in SmmWhoAmI()
263 if (gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId == ApicId) { in SmmWhoAmI()
DPiSmmCpuDxeSmm.c338 UINT32 ApicId; in SmmInitHandler() local
345 ApicId = GetApicId (); in SmmInitHandler()
350 if (ApicId == (UINT32)gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId) { in SmmInitHandler()
403 UINT32 ApicId; in SmmRelocateBases() local
442 ApicId = GetApicId (); in SmmRelocateBases()
452 if (ApicId != (UINT32)gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId) { in SmmRelocateBases()
471 SendSmiIpi (ApicId); in SmmRelocateBases()
781 mCpuHotPlugData.ApicId = (UINT64 *)AllocatePool (sizeof (UINT64) * mMaxNumberOfCpus); in PiCpuSmmEntry()
782 ASSERT (mCpuHotPlugData.ApicId != NULL); in PiCpuSmmEntry()
801 mCpuHotPlugData.ApicId[Index] = gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId; in PiCpuSmmEntry()
[all …]
DSmmProfileInternal.h97 UINT64 ApicId; member
DSmmProfile.c138 UINT32 ApicId; in GetCpuIndex() local
140 ApicId = GetApicId (); in GetCpuIndex()
143 if (gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId == ApicId) { in GetCpuIndex()
1345 SmmProfileEntry[CurrentEntryNumber].ApicId = (UINT64)GetApicId (); in SmmProfilePFHandler()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MpInitLib/
DMpLib.c302 UINT32 ApicId; in SortApicId() local
315 ApicId = CpuInfoInHob[Index1].ApicId; in SortApicId()
317 if (ApicId > CpuInfoInHob[Index2].ApicId) { in SortApicId()
319 ApicId = CpuInfoInHob[Index2].ApicId; in SortApicId()
336 ApicId = GetInitialApicId (); in SortApicId()
338 if (CpuInfoInHob[Index1].ApicId == ApicId) { in SortApicId()
407 if (CpuInfoInHob[Index].ApicId == GetApicId ()) { in GetProcessorNumber()
491 CpuInfoInHob[ProcessorNumber].ApicId = GetApicId (); in InitializeApData()
615 CpuInfoInHob[ProcessorNumber].ApicId = GetApicId (); in ApWakeupFunction()
853 CpuInfoInHob[ProcessorNumber].ApicId, in WakeUpAP()
[all …]
DMpLib.h135 UINT32 ApicId; member
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/
DCpuHotPlugData.h26 UINT64 *ApicId; // Pointer to ApicId array member
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/
DArchInterruptDefs.h34 UINT32 ApicId; member
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/
DArchInterruptDefs.h34 UINT32 ApicId; member
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/
DPeiDxeSmmCpuException.c57 ReservedVectors[ExceptionType].ApicId = GetApicId (); in CommonExceptionHandlerWorker()
66 if (ReservedVectors[ExceptionType].ApicId == GetApicId ()) { in CommonExceptionHandlerWorker()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DAcpi3_0.h304 UINT8 ApicId; member
503 UINT8 ApicId; member
DAcpi1_0.h177 UINT8 ApicId; member
DAcpi2_0.h286 UINT8 ApicId; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
DAcpi3_0.h311 UINT8 ApicId; member
510 UINT8 ApicId; member
DAcpi1_0.h185 UINT8 ApicId; member
DAcpi2_0.h273 UINT8 ApicId; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DAcpi30.h344 UINT8 ApicId; member
543 UINT8 ApicId; member
DAcpi20.h299 UINT8 ApicId; member
DAcpi40.h313 UINT8 ApicId; member
537 UINT8 ApicId; member
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/
DAcpiPlatform.c301 ApicPtr->AcpiLocalApic.ApicId = 0; in ApicTableUpdate()
312 ApicPtr->AcpiLocalApic.ApicId = (UINT8)MpContext.ProcessorId; in ApicTableUpdate()

12