On 2/2/2018 9:46 PM, Laszlo Ersek wrote:
On 02/02/18 07:45, Ruiyu Ni wrote:
From: Michael D Kinney <michael.d.kin...@intel.com>
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
The second entry should be "gEdkiiPlatformSpecificResetHandlerPpiGuid".
In the DXE Phase, filters are handlers are registered through
the folloiwng 2 Protocols that are based on
The second entry should be "gEdkiiPlatformSpecificResetHandlerProtocolGuid".
Thanks. I will change the commit message when checking in.
edk2-devel mailing list