From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org 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 E689121F0DA4F for ; Mon, 5 Feb 2018 18:50:57 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2018 18:56:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,467,1511856000"; d="scan'208";a="29086380" Received: from ray-dev.ccr.corp.intel.com (HELO [10.239.9.19]) ([10.239.9.19]) by orsmga001.jf.intel.com with ESMTP; 05 Feb 2018 18:56:38 -0800 To: Laszlo Ersek , "edk2-devel@lists.01.org" Cc: "Kinney, Michael D" , "Zeng, Star" , "Gao, Liming" References: <20180202064530.407028-1-ruiyu.ni@intel.com> <20180202064530.407028-5-ruiyu.ni@intel.com> <3e53cc77-f858-5cc8-abc1-f9adbc27bfa0@redhat.com> From: "Ni, Ruiyu" Message-ID: <9c90d476-1a26-cc29-f4ab-38b40052fa42@Intel.com> Date: Tue, 6 Feb 2018 10:56:37 +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: <3e53cc77-f858-5cc8-abc1-f9adbc27bfa0@redhat.com> Subject: Re: [PATCH 04/10] MdeModulePkg/ResetSystemRuntimeDxe: Add platform filter and handler 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: Tue, 06 Feb 2018 02:50:58 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 2/2/2018 9:46 PM, Laszlo Ersek wrote: > On 02/02/18 07:45, Ruiyu Ni wrote: >> From: Michael D Kinney >> >> Add support for platform specific reset filters and platform >> specific reset handlers to ResetSystem(). A filter may modify >> the reset type and reset data and call ResetSystem() with the >> modified parameters. A handler performs the reset action. >> >> The support for platform specific filters and platform specific >> handlers is based on the Reset Notification feature added to the >> UEFI 2.7 Specification. >> >> Platform specific reset filters are processed first so the final >> reset type and reset data can be determined. In the DXE Phase >> The UEFI Reset Notifications are processed second so all UEFI >> Drivers that have registered for a Reset Notification can perform >> any required clean up actions. The platform specific reset >> handlers are processed third. If there are no registered >> platform specific reset handlers or none of them reset the >> platform, then the default reset action based on the >> ResetSystemLib is performed. >> >> In the PEI Phase, filters are handlers are registered through >> the folloiwng 2 PPIs that are based on >> EFI_RESET_NOTIFICATION_PROTOCOL. >> * gEdkiiPlatformSpecificResetFilterPpiGuid >> * gEdkiiPlatformSpecificResetFilterPpiGuid > > The second entry should be "gEdkiiPlatformSpecificResetHandlerPpiGuid". > >> >> In the DXE Phase, filters are handlers are registered through >> the folloiwng 2 Protocols that are based on >> EFI_RESET_NOTIFICATION_PROTOCOL. >> * gEdkiiPlatformSpecificResetFilterProtocolGuid >> * gEdkiiPlatformSpecificResetFilterProtocolGuid > > The second entry should be "gEdkiiPlatformSpecificResetHandlerProtocolGuid". > > [...] > > Thanks > Laszlo > Thanks. I will change the commit message when checking in. -- Thanks, Ray