From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id ABD4481B55 for ; Tue, 10 Jan 2017 06:48:24 -0800 (PST) Received: by mail-ua0-x235.google.com with SMTP id i68so384211677uad.0 for ; Tue, 10 Jan 2017 06:48:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rJHIPqbViPdNajnSwlG+rD07qQUMZZPr0Ml2beh3rYc=; b=SUnTl7/7R0xGP9xIWKVMbHqjhNBl/hjbBIgcZTEnC9RxfrePHEPsTYDkXr1d1CmuOH ARitZTHGk/+s0nky/BiME/OLRUJvCbCXgb1oqi2WXVDiWXWawxit0oI59xF3x0asqp9o M4LBXi0tdeqcg3KaeTtw6OGcf9UmfKkwkt/sbTPCZIgNACwKHB1G5DSQ2ZSPtDlMpodM 9cUEG8TDyduGSp8150O4nLfS1FeGfEHeG66pL7Itc/ozzyTC5CYnUu2wgVM6sNzkOaEj XwEdBKnAN0aM26NXCSLMzwvGOgigqkSFZb4P1Kji7vi4N193MolejuA5A8VgBXCQn8OQ NqFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rJHIPqbViPdNajnSwlG+rD07qQUMZZPr0Ml2beh3rYc=; b=kDykXxFuDYzE0TNOlg7SpJbQwkJaXRaX/YR618kGehg8Ik+cjFJRtdc5JoH2ZQNYmF YDaMRwK63v/rqmtQYcnR4upiFujRsXGozP8uDAbIeYWB+xqofo2VGS2zXJBhT/cEVxbI 25k4OF5ehXzKCvi46SyL+N5oFd1mk/s3w/bPeNzWyxNFhGUBb+iPeWTFqCtYhiJ3p8Pp M726C6VqF2mWC2mpDcWvCnx9voNbVjtKVeEECY6/YtgSOqRfKjvWdV5tSus8GHMaMo5S n83cbWGmY8Css61J+ifk9joDz6lSR7kTxjOxv5CbW0arvgcCqbSYeJmpRyMb7moiGs1C JlCg== X-Gm-Message-State: AIkVDXK20W0Qf8RpH+WRLE+GjEwPz+ZLpUc0bQDf3DU0sYHeH+Un0MyarijAlURsh0v9DsrpcLJZz9AZguPDbw== X-Received: by 10.159.41.36 with SMTP id t33mr1757533uat.142.1484059703825; Tue, 10 Jan 2017 06:48:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.59.69 with HTTP; Tue, 10 Jan 2017 06:48:23 -0800 (PST) In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103B7A9429@SHSMSX104.ccr.corp.intel.com> References: <0C09AFA07DD0434D9E2A0C6AEB0483103B7A9429@SHSMSX104.ccr.corp.intel.com> From: Michael Zimmermann Date: Tue, 10 Jan 2017 15:48:23 +0100 Message-ID: To: "Zeng, Star" Cc: "edk2-devel@lists.01.org" , "Kinney, Michael D" , "Rothman, Michael A" 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: Tue, 10 Jan 2017 14:48:24 -0000 Content-Type: text/plain; charset=UTF-8 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 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 > 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