Hi,

Thought this should have been simple, but not getting any callbacks nor any
errors setting it up?  If timers won't work, is there at least a tickcount
somewhere I can monitor?

  // create timer event
  if (EFI_ERROR(gBS->CreateEvent(EVT_TIMER, TPL_CALLBACK, TimerCallback,
NULL, &UEFITimerEvent))) {
    // unable to create event
    UEFITimerEvent=NULL;
  }
  else if (EFI_ERROR(gBS->SetTimer(UEFITimerEvent, TimerPeriodic,
EFI_TIMER_PERIOD_SECONDS(1)))) {
    // unable to set timer
    gBS->CloseEvent(&UEFITimerEvent);
    UEFITimerEvent=NULL;
}
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to