From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3BF1A820FB for ; Sun, 11 Dec 2016 17:07:05 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 11 Dec 2016 17:07:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,334,1477983600"; d="scan'208";a="201468162" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 11 Dec 2016 17:07:04 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 11 Dec 2016 17:07:04 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 11 Dec 2016 17:07:04 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.9]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.11]) with mapi id 14.03.0248.002; Mon, 12 Dec 2016 09:07:02 +0800 From: "Zeng, Star" To: Michael Zimmermann , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Rothman, Michael A" , "Zeng, Star" Thread-Topic: [edk2] TPL of RegisterKeyNotify Thread-Index: AQHSUhUj5aKBrXK+V0K1QKJ0pANzA6EDggPg Date: Mon, 12 Dec 2016 01:07:01 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B7A9429@SHSMSX104.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: TPL of RegisterKeyNotify X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 01:07:05 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Michael, There is already an approved UEFI mantis https://mantis.uefi.org/mantis/vie= w.php?id=3D1634 that has the clarification to the TPL of KeyNotify function= . Currently KB drivers just call the KeyNotify functions in TimerEvent that h= as 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 Mich= ael Zimmermann Sent: Friday, December 9, 2016 8:09 PM To: edk2-devel@lists.01.org Subject: [edk2] TPL of RegisterKeyNotify I couldn't find any information in the spec about the TPL which notify func= tions will/should be called with. When I do File IO from within such an handler DxeCore tells me that 'RaiseT= pl 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 Fi= le IO operation to solve this? Thanks Michael _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel