Searched refs:ApicBase (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/ |
D | X86TimerLib.c | 90 IN UINTN ApicBase in InternalX86GetTimerFrequency() argument 95 mTimerLibLocalApicDivisor[MmioBitFieldRead32 (ApicBase + 0x3e0, 0, 3)]; in InternalX86GetTimerFrequency() 111 IN UINTN ApicBase in InternalX86GetTimerTick() argument 114 return MmioRead32 (ApicBase + 0x390); in InternalX86GetTimerTick() 130 IN UINTN ApicBase, in InternalX86Delay() argument 139 Ticks = InternalX86GetTimerTick (ApicBase) - Delay; in InternalX86Delay() 146 while (InternalX86GetTimerTick (ApicBase) - Ticks >= 0); in InternalX86Delay() 165 UINTN ApicBase; in MicroSecondDelay() local 167 ApicBase = InternalX86GetApicBase (); in MicroSecondDelay() 169 ApicBase, in MicroSecondDelay() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/ |
D | X86TimerLib.c | 58 UINTN ApicBase; in InternalX86GetApicBase() local 61 ApicBase = MsrValue & 0xffffff000ULL; in InternalX86GetApicBase() 80 ASSERT ((MmioRead32 (ApicBase + APIC_SVR) & BIT8) != 0); in InternalX86GetApicBase() 82 return ApicBase; in InternalX86GetApicBase() 96 IN UINTN ApicBase in InternalX86GetTimerFrequency() argument 101 mTimerLibLocalApicDivisor[MmioBitFieldRead32 (ApicBase + APIC_TDCR, 0, 3)]; in InternalX86GetTimerFrequency() 115 IN UINTN ApicBase in InternalX86GetTimerTick() argument 118 return MmioRead32 (ApicBase + APIC_TMCCT); in InternalX86GetTimerTick() 131 IN UINTN ApicBase in InternalX86GetInitTimerCount() argument 134 return MmioRead32 (ApicBase + APIC_TMICT); in InternalX86GetInitTimerCount() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/ |
D | MpServicesOnFrameworkMpServicesThunk.c | 534 UINTN ApicBase; in SwitchBSP() local 588 ApicBase = (UINTN)AsmMsrBitFieldRead64 (MSR_IA32_APIC_BASE, 12, 35) << 12; in SwitchBSP() 589 CurrentTimerValue = MmioRead32 (ApicBase + APIC_REGISTER_TIMER_COUNT); in SwitchBSP() 590 CurrentTimerRegister = MmioRead32 (ApicBase + APIC_REGISTER_LVT_TIMER); in SwitchBSP() 591 CurrentTimerDivide = MmioRead32 (ApicBase + APIC_REGISTER_TIMER_DIVIDE); in SwitchBSP() 595 MmioBitFieldWrite32 (ApicBase + APIC_REGISTER_LVT_TIMER, 16, 16, 1); in SwitchBSP() 617 MmioWrite32 (ApicBase + APIC_REGISTER_TIMER_DIVIDE, CurrentTimerDivide); in SwitchBSP() 618 MmioWrite32 (ApicBase + APIC_REGISTER_TIMER_INIT_COUNT, CurrentTimerValue); in SwitchBSP() 619 MmioWrite32 (ApicBase + APIC_REGISTER_LVT_TIMER, CurrentTimerRegister); in SwitchBSP()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/Msr/ |
D | P6Msr.h | 191 UINT32 ApicBase:20; member
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicLib/ |
D | BaseXApicLib.c | 84 (((UINTN)ApicBaseMsr.Bits.ApicBase) << 12); in GetLocalApicBaseAddress() 114 ApicBaseMsr.Bits.ApicBase = (UINT32) (BaseAddress >> 12); in SetLocalApicBaseAddress()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicX2ApicLib/ |
D | BaseXApicX2ApicLib.c | 85 (((UINTN)ApicBaseMsr.Bits.ApicBase) << 12); in GetLocalApicBaseAddress() 115 ApicBaseMsr.Bits.ApicBase = (UINT32) (BaseAddress >> 12); in SetLocalApicBaseAddress()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/ |
D | ArchitecturalMsr.h | 214 UINT32 ApicBase:20; member
|