Lines Matching refs:Timer
21 #include <Protocol/Timer.h>
197 This function is triggered by timer periodically to check the
375 // Set timer to check all APs status.
651 EFI_TIMER_ARCH_PROTOCOL *Timer;
656 // Locate Timer Arch Protocol
658 Status = gBS->LocateProtocol (&gEfiTimerArchProtocolGuid, NULL, (VOID **) &Timer);
660 Timer = NULL;
663 if (Timer != NULL) {
665 // Save current rate of DXE Timer
667 Timer->GetTimerPeriod (Timer, &TimerPeriod);
669 // Disable DXE Timer and drain pending interrupts
671 Timer->SetTimerPeriod (Timer, 0);
676 if (Timer != NULL) {
678 // Enable and restore rate of DXE Timer
680 Timer->SetTimerPeriod (Timer, TimerPeriod);