From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in6.apple.com (mail-out6.apple.com [17.151.62.28]) (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 586C781F6B for ; Tue, 6 Dec 2016 22:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1481091330; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=MsQ+nzcqm9jJlMSE0dccAelz4RrTsZoA76dLgJgO9JA=; b=y0IW14jMG0eZZawWi+yfdCSHW6n+2ZipyBOJqa5LDtaE3qDHfxwKJccjs5SCI0iF 9ISEFeA5VkSxcgchB+0U1VJGRZolh3am6uN3DNreiI8DgSSbkvdL3z2Vpq1xcSYS YVXthoIxBHmSVJGwhXIz5ck4iCd4giL9FXWFoiXIE9D2BrdGhT0ZJWtD2HQ8x8OG 9mjYouNJGy7Srj2Iuqct3IFWZqu7h8retftISOIUgg5Hxg1EO7PZYD9Lv1vhoZqQ MW6WuiiIHISNeTVcEnuvctfPCeQkupi6aFXwju+DdL8JK+bjx9FghM1uzABBJRhu HpApw918+yN4qCtQAuKF5g==; Received: from relay2.apple.com (relay2.apple.com [17.128.113.67]) by mail-in6.apple.com (Apple Secure Mail Relay) with SMTP id 6B.2B.18170.109A7485; Tue, 6 Dec 2016 22:15:30 -0800 (PST) X-AuditID: 11973e15-f31ff700000046fa-04-5847a901f856 Received: from nwk-mmpp-sz12.apple.com (nwk-mmpp-sz12.apple.com [17.128.115.204]) by relay2.apple.com (Apple SCV relay) with SMTP id C0.78.09148.109A7485; Tue, 6 Dec 2016 22:15:29 -0800 (PST) MIME-version: 1.0 Received: from [17.153.60.166] by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.1.1.0 64bit (built Jun 15 2016)) with ESMTPSA id <0OHS00DNEXDSKN10@nwk-mmpp-sz12.apple.com> for edk2-devel@lists.01.org; Tue, 06 Dec 2016 22:15:29 -0800 (PST) Sender: afish@apple.com From: Andrew Fish Message-id: Date: Tue, 06 Dec 2016 22:15:27 -0800 To: edk2-devel X-Mailer: Apple Mail (2.3226) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCLMWRmVeSWpSXmKPExsUi2FDorMu00j3C4M8MM4s9h44yOzB6dM/+ xxLAGMVlk5Kak1mWWqRvl8CVcbHvK3PBfqmKWVc/sjYw3hfvYuTkkBAwkVj6oI+pi5GLQ0hg L6PE55lXWWASEw6vg0ocYpQ4Om0eG0iCV0BQ4sfke2BFzAJhEq1vbrCC2EICXUwSK+bVg9jC AuIS785sYgax2QSUJVbM/8AOEbeTON2zEGqOjUTv+l9gNouAqsTXHd/AZooIaEhs7W4F6uUA OkJWYvYvL5AbJATmsElM2v2OZQIj/ywkZ8xCcgaErSXx/VErUJwDyJaXOHheFiKsKfHs3id2 CFtb4sm7C6wLGNlWMQrlJmbm6GbmmeklFhTkpOol5+duYgQF63Q70R2MZ1ZZHWIU4GBU4uEt uOQWIcSaWFZcmXuIUZqDRUmc976ne4SQQHpiSWp2ampBalF8UWlOavEhRiYOTqkGRt7KRe+E e1+dX3j5e0XQv3dfZp6bdoE7SC7wmt3b63Gmyp9fHpytzjwt3of5ZiGb85580QklrxW4b7ux pc5M8/xulvxplftbI/tlB19PUdF4Xnb/KLv4nCU5v16tvC53wIHDbc7CCcaMtlUuedZ/3s9+ xynDvjnvtd0UK4Pbh0NvF7QsLOVoDlFiKc5INNRiLipOBABm4kIZNwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsUi2FB8RpdxpXuEwYSNQhZ7Dh1ldmD06J79 jyWAMYrLJiU1J7MstUjfLoEr42LfV+aC/VIVs65+ZG1gvC/excjJISFgIjHh8DomCFtM4sK9 9WxdjFwcQgKHGCWOTpvHBpLgFRCU+DH5HguIzSwQJtH65gYriC0k0MUksWJePYgtLCAu8e7M JmYQm01AWWLF/A/sEHE7idM9C6Hm2Ej0rv8FZrMIqEp83fENbKaIgIbE1u5WoF4OoCNkJWb/ 8prAyDsLyeZZSDZD2FoS3x+1AsU5gGx5iYPnZSHCmhLP7n1ih7C1JZ68u8C6gJFtFaNAUWpO YqWRXmJBQU6qXnJ+7iZGcNAVOu9gPLbM6hCjAAejEg+vxAW3CCHWxLLiylyg9zmYlUR4ly9z jxDiTUmsrEotyo8vKs1JLT7EOJER6P6JzFKiyfnAmMgriTc0MTEwMTY2MzY2NzGnpbCSOG8U q1OEkEB6YklqdmpqQWoRzFFMHJxSDYzbVt+ZM+fV/rxIzzOlb50CBR5MNZT4EPRExlyrYuvq wE+CEy/3p+Ut57Q+s6K5KnT9I3vXbxEV09O2nTgZEuUf+TR2wXsbp7Jgrq/HZHR0XyoHL378 6Imz8ddtAX7fApdkvt/m67b/okWj8mz3RfNvs74K2LvSJcI/q9x4ayCnk3f8jlOyK4SVWIoz Eg21mIuKEwF75fTKrQIAAA== X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Is the current TPL ASSERT in the LoadImage() correct? 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: Wed, 07 Dec 2016 06:15:31 -0000 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT Does anyone know why CoreLoadImageCommon() will ASSERT on TPL < TPL_NOTIFY, when the UEFI Spec calls out < TPL_CALLBACK? https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Core/Dxe/Image/Image.c#L1066 ASSERT (gEfiCurrentTpl < TPL_NOTIFY); Thanks, Andrew Fish