public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Tiger Liu(BJ-RD)" <tigerliu@zhaoxin.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: [edk2-devel] Question about LAPIC Timer lib
Date: Fri, 17 Apr 2020 08:54:25 +0000	[thread overview]
Message-ID: <bfaecb1ddbcb4ec3bf8e91673465a4ab@zhaoxin.com> (raw)

Hi, Experts:
There is a TimeLib implementation in UefiCpuPkg\Library\SecPeiDxeTimerLibUefiCpu .
It uses cpu's local apic timer.

I wonder whether it could be used in smm drivers?

If using MicroSecondDelay function (which provided in this timerlib), maybe we should save OS's CPU local apic timer setting first.
And restore OS's CPU local apic timer setting before return to OS environment.

Thanks


保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.

                 reply	other threads:[~2020-04-17  8:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bfaecb1ddbcb4ec3bf8e91673465a4ab@zhaoxin.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