public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Michael Zimmermann <sigmaepsilon92@gmail.com>
To: "Zeng, Star" <star.zeng@intel.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@ml01.01.org>,
	 "Kinney, Michael D" <michael.d.kinney@intel.com>,
	 "Rothman, Michael A" <michael.a.rothman@intel.com>
Subject: Re: TPL of RegisterKeyNotify
Date: Tue, 10 Jan 2017 15:48:23 +0100	[thread overview]
Message-ID: <CAN9vWDL2H5zxq+2FfOeWKi-yM7oUeCkRQ7E-TK6Ks=XZdGrrhQ@mail.gmail.com> (raw)
In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103B7A9429@SHSMSX104.ccr.corp.intel.com>

just FYI, mantis links are useless if you don't have access to that ;)
I don't know what this is usually used for but making some parts of
uefi.org public doesn't sound like a bad idea to me.

Thanks
Michael

On Mon, Dec 12, 2016 at 2:07 AM, Zeng, Star <star.zeng@intel.com> wrote:
> Michael,
>
> There is already an approved UEFI mantis https://mantis.uefi.org/mantis/view.php?id=1634 that has the clarification to the TPL of KeyNotify function.
> Currently KB drivers just call the KeyNotify functions in TimerEvent that has TPL_NOTIFY, we are updating code to make the KeyNotify functions called in TPL_CALLBACK to the new mantis.
>
>
> Thanks,
> Star
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Michael Zimmermann
> Sent: Friday, December 9, 2016 8:09 PM
> To: edk2-devel@lists.01.org <edk2-devel@ml01.01.org>
> Subject: [edk2] TPL of RegisterKeyNotify
>
> I couldn't find any information in the spec about the TPL which notify functions will/should be called with.
> When I do File IO from within such an handler DxeCore tells me that 'RaiseTpl with OldTpl(0x10) > NewTpl(0x8)' which translated means TPL_NOTIFY > TPL_CALLBACK.
>
> That probably means that it's called using TPL_NOTIFY, but is that defined somewhere?
> Do I have to raise another (TPL_CALLBACK) event to be able to perform my File IO operation to solve this?
>
> Thanks
> Michael
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-01-10 14:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-09 12:09 TPL of RegisterKeyNotify Michael Zimmermann
2016-12-12  1:07 ` Zeng, Star
2017-01-10 14:48   ` Michael Zimmermann [this message]
2017-01-10 17:23     ` Andrew Fish

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='CAN9vWDL2H5zxq+2FfOeWKi-yM7oUeCkRQ7E-TK6Ks=XZdGrrhQ@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