From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 EFFA32034D8C7 for ; Tue, 27 Feb 2018 23:23:43 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2018 23:29:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,404,1515484800"; d="scan'208";a="34220528" Received: from ray-dev.ccr.corp.intel.com (HELO [10.239.9.13]) ([10.239.9.13]) by fmsmga001.fm.intel.com with ESMTP; 27 Feb 2018 23:29:49 -0800 To: Michael Zimmermann , edk2-devel-01 Cc: Leif Lindholm , Ard Biesheuvel References: From: "Ni, Ruiyu" Message-ID: <26da6afd-102b-0006-c6b7-a10d8e13f96e@Intel.com> Date: Wed, 28 Feb 2018 15:29:48 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: 'fastboot boot' TPL X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 07:23:44 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 2/28/2018 2:06 PM, Michael Zimmermann wrote: > From looking at the code it seems to me that StartImage is called from > TPL_CALLBACK. > According to the Spec StartImage can only be called from > If the current code actually works it means that there are at least 3 > problems that should be addressed: > - call StartImage from TPL_APPLICATION > - ASSERT the tpl in LoadImage and StartImage > - ASSERT the tpl in ExitBootServices > > Thanks > Michael > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > NO, LoadImage and StartImage are called at TPL_APPLICATION. -- Thanks, Ray