public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* NvmExpressDxe TimerEvent frequency
@ 2017-04-09  4:41 Arka Sharma
  2017-04-10  4:39 ` Tian, Feng
  0 siblings, 1 reply; 2+ messages in thread
From: Arka Sharma @ 2017-04-09  4:41 UTC (permalink / raw)
  To: edk2-devel

Hi,

UEFI Driver Write Guide section 5.1.6 says
"UEFI system firmware uses a hardware timer interrupt to measure time.
These. These
time measurements are used to determine when enough time has passed to signal a
timer event programmed with SetTimer(). In most systems, the timer interrupt is
generated every 10 ms to 50 ms, but the UEFI Specification does not require any
specific interrupt rate. This lack of specificity means that a
periodic timer programmed
with a period much smaller than 10 ms may only be signaled every 10 ms
to 50 ms.". So in case of NvmExpressDxe the Private->TimerEvent is set
with 1 ms, so the frequency of the routine ProcessAsyncTaskList might
be more than 1 ms as per the frequency of the timer interrupt ?

Regards,
Arka


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-10  4:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-09  4:41 NvmExpressDxe TimerEvent frequency Arka Sharma
2017-04-10  4:39 ` Tian, Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox