mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 06:34:30 +02:00
MdeModulePkg/ResetSystemRuntimeDxe: Change comments
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1460 Refer to Uefi spec 2.8, the ResetData is valid while ResetStatus is EFI_SUCCESS regardless of the ResetType is EfiResetPlatformSpecific or not. So change the comments of RuntimeServiceResetSystem. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Michael Turner <Michael.Turner@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
This commit is contained in:
parent
99d7570a7a
commit
f69cb10828
@ -210,10 +210,7 @@ InitializeResetSystem (
|
|||||||
EfiResetShutdown the data buffer starts with a Null-terminated
|
EfiResetShutdown the data buffer starts with a Null-terminated
|
||||||
string, optionally followed by additional binary data.
|
string, optionally followed by additional binary data.
|
||||||
The string is a description that the caller may use to further
|
The string is a description that the caller may use to further
|
||||||
indicate the reason for the system reset. ResetData is only
|
indicate the reason for the system reset.
|
||||||
valid if ResetStatus is something other than EFI_SUCCESS
|
|
||||||
unless the ResetType is EfiResetPlatformSpecific
|
|
||||||
where a minimum amount of ResetData is always required.
|
|
||||||
For a ResetType of EfiResetPlatformSpecific the data buffer
|
For a ResetType of EfiResetPlatformSpecific the data buffer
|
||||||
also starts with a Null-terminated string that is followed
|
also starts with a Null-terminated string that is followed
|
||||||
by an EFI_GUID that describes the specific type of reset to perform.
|
by an EFI_GUID that describes the specific type of reset to perform.
|
||||||
|
@ -80,10 +80,7 @@ InitializeResetSystem (
|
|||||||
EfiResetShutdown the data buffer starts with a Null-terminated
|
EfiResetShutdown the data buffer starts with a Null-terminated
|
||||||
string, optionally followed by additional binary data.
|
string, optionally followed by additional binary data.
|
||||||
The string is a description that the caller may use to further
|
The string is a description that the caller may use to further
|
||||||
indicate the reason for the system reset. ResetData is only
|
indicate the reason for the system reset.
|
||||||
valid if ResetStatus is something other than EFI_SUCCESS
|
|
||||||
unless the ResetType is EfiResetPlatformSpecific
|
|
||||||
where a minimum amount of ResetData is always required.
|
|
||||||
For a ResetType of EfiResetPlatformSpecific the data buffer
|
For a ResetType of EfiResetPlatformSpecific the data buffer
|
||||||
also starts with a Null-terminated string that is followed
|
also starts with a Null-terminated string that is followed
|
||||||
by an EFI_GUID that describes the specific type of reset to perform.
|
by an EFI_GUID that describes the specific type of reset to perform.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user