From: "Zeng, Star" <star.zeng@intel.com>
To: Michael Zimmermann <sigmaepsilon92@gmail.com>,
"edk2-devel@lists.01.org" <edk2-devel@ml01.01.org>
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>,
"Rothman, Michael A" <michael.a.rothman@intel.com>,
"Zeng, Star" <star.zeng@intel.com>
Subject: Re: TPL of RegisterKeyNotify
Date: Mon, 12 Dec 2016 01:07:01 +0000 [thread overview]
Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B7A9429@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <CAN9vWDL-JSeTNc-7j5sdagbgUk2-RXaNT423SSMJ0bZ_CZ=AvA@mail.gmail.com>
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
next prev parent reply other threads:[~2016-12-12 1:07 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 [this message]
2017-01-10 14:48 ` Michael Zimmermann
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=0C09AFA07DD0434D9E2A0C6AEB0483103B7A9429@SHSMSX104.ccr.corp.intel.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