**/\r
VOID\r
InternalAcpiDelay (\r
- IN UINT32 Delay\r
+ IN UINT32 Delay\r
)\r
{\r
- UINT32 Ticks;\r
- UINT32 Times;\r
+ UINT32 Ticks;\r
+ UINT32 Times;\r
\r
- Times = Delay >> 22;\r
- Delay &= BIT22 - 1;\r
+ Times = Delay >> 22;\r
+ Delay &= BIT22 - 1;\r
do {\r
//\r
// The target timer count is calculated here\r
//\r
- Ticks = InternalAcpiGetTimerTick () + Delay;\r
- Delay = BIT22;\r
+ Ticks = InternalAcpiGetTimerTick () + Delay;\r
+ Delay = BIT22;\r
//\r
// Wait until time out\r
// Delay >= 2^23 could not be handled by this function\r
UINTN\r
EFIAPI\r
MicroSecondDelay (\r
- IN UINTN MicroSeconds\r
+ IN UINTN MicroSeconds\r
)\r
{\r
InternalAcpiDelay (\r
UINTN\r
EFIAPI\r
NanoSecondDelay (\r
- IN UINTN NanoSeconds\r
+ IN UINTN NanoSeconds\r
)\r
{\r
InternalAcpiDelay (\r
UINT64\r
EFIAPI\r
GetPerformanceCounterProperties (\r
- OUT UINT64 *StartValue OPTIONAL,\r
- OUT UINT64 *EndValue OPTIONAL\r
+ OUT UINT64 *StartValue OPTIONAL,\r
+ OUT UINT64 *EndValue OPTIONAL\r
)\r
{\r
if (StartValue != NULL) {\r
UINT64\r
EFIAPI\r
GetTimeInNanoSecond (\r
- IN UINT64 Ticks\r
+ IN UINT64 Ticks\r
)\r
{\r
UINT64 NanoSeconds;\r
// Frequency < 0x100000000, so Remainder < 0x100000000, then (Remainder * 1,000,000,000)\r
// will not overflow 64-bit.\r
//\r
- NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), ACPI_TIMER_FREQUENCY);\r
+ NanoSeconds += DivU64x32 (MultU64x32 ((UINT64)Remainder, 1000000000u), ACPI_TIMER_FREQUENCY);\r
\r
return NanoSeconds;\r
}\r