Lines Matching refs:ApicBase
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()
153 IN UINTN ApicBase, in InternalX86Delay() argument
169 InitCount = InternalX86GetInitTimerCount (ApicBase); in InternalX86Delay()
177 StartTick = InternalX86GetTimerTick (ApicBase); in InternalX86Delay()
187 Ticks = StartTick - InternalX86GetTimerTick (ApicBase); in InternalX86Delay()
220 UINTN ApicBase; in MicroSecondDelay() local
222 ApicBase = InternalX86GetApicBase (); in MicroSecondDelay()
224 ApicBase, in MicroSecondDelay()
227 InternalX86GetTimerFrequency (ApicBase), in MicroSecondDelay()
252 UINTN ApicBase; in NanoSecondDelay() local
254 ApicBase = InternalX86GetApicBase (); in NanoSecondDelay()
256 ApicBase, in NanoSecondDelay()
259 InternalX86GetTimerFrequency (ApicBase), in NanoSecondDelay()
318 UINTN ApicBase; in GetPerformanceCounterProperties() local
320 ApicBase = InternalX86GetApicBase (); in GetPerformanceCounterProperties()
323 *StartValue = (UINT64)InternalX86GetInitTimerCount (ApicBase); in GetPerformanceCounterProperties()
330 return (UINT64) InternalX86GetTimerFrequency (ApicBase); in GetPerformanceCounterProperties()