public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Arka Sharma <arka.sw1988@gmail.com>
To: edk2-devel@lists.01.org
Subject: NvmExpressDxe TimerEvent frequency
Date: Sun, 9 Apr 2017 10:11:18 +0530	[thread overview]
Message-ID: <CAPO=kN1W0=RecG1R9a6jh+-qhvHeGTuc2r_oo+V0+Rt+BLm_xA@mail.gmail.com> (raw)

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


             reply	other threads:[~2017-04-09  4:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-09  4:41 Arka Sharma [this message]
2017-04-10  4:39 ` NvmExpressDxe TimerEvent frequency Tian, Feng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPO=kN1W0=RecG1R9a6jh+-qhvHeGTuc2r_oo+V0+Rt+BLm_xA@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox