33 return PcdGet32 (PcdFSBClock) / (UINT32)Divisor;
67 ASSERT (InitCount != 0);
68 Times = Delay / (InitCount / 2);
69 Delay = Delay % (InitCount / 2);
91 }
while ((UINT32)Ticks < Delay);
96 StartTick -= (StartTick > Delay) ? Delay : (Delay - InitCount);
97 Delay = InitCount / 2;
98 }
while (Times-- > 0);
203 OUT UINT64 *StartValue OPTIONAL,
204 OUT UINT64 *EndValue OPTIONAL
207 if (StartValue !=
NULL) {
211 if (EndValue !=
NULL) {
UINT64 EFIAPI DivU64x32(IN UINT64 Dividend, IN UINT32 Divisor)
UINT64 EFIAPI MultU64x64(IN UINT64 Multiplicand, IN UINT64 Multiplier)
VOID EFIAPI CpuPause(VOID)
UINT64 EFIAPI RShiftU64(IN UINT64 Operand, IN UINTN Count)
UINT64 EFIAPI MultU64x32(IN UINT64 Multiplicand, IN UINT32 Multiplier)
UINT64 EFIAPI DivU64x64Remainder(IN UINT64 Dividend, IN UINT64 Divisor, OUT UINT64 *Remainder OPTIONAL)
INTN EFIAPI HighBitSet64(IN UINT64 Operand)
VOID EFIAPI GetApicTimerState(OUT UINTN *DivideValue OPTIONAL, OUT BOOLEAN *PeriodicMode OPTIONAL, OUT UINT8 *Vector OPTIONAL)
UINT32 EFIAPI GetApicTimerInitCount(VOID)
UINT32 EFIAPI GetApicTimerCurrentCount(VOID)
UINT64 EFIAPI GetPerformanceCounterProperties(OUT UINT64 *StartValue OPTIONAL, OUT UINT64 *EndValue OPTIONAL)
UINT64 EFIAPI GetTimeInNanoSecond(IN UINT64 Ticks)
UINT32 EFIAPI InternalX86GetTimerFrequency(IN UINTN ApicBase)
VOID EFIAPI InternalX86Delay(IN UINTN ApicBase, IN UINT32 Delay)
UINT64 EFIAPI GetPerformanceCounter(VOID)
UINTN EFIAPI MicroSecondDelay(IN UINTN MicroSeconds)
UINTN EFIAPI NanoSecondDelay(IN UINTN NanoSeconds)
#define PcdGet32(TokenName)