diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-07-27 10:22:37 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-09-02 10:07:13 +0800 |
commit | e963b7468f8e739fda38ec9ed8c66ac5e5ad46bf (patch) | |
tree | 7c7ff84a98f6fb1a991a45874ffdd28f8989fa7d | |
parent | 3ef3209d3028b77af9f56f183370e7b67cd7c849 (diff) | |
download | edk2-platforms-e963b7468f8e739fda38ec9ed8c66ac5e5ad46bf.tar.xz |
MdePkg/UefiSpec.h: Align function header of ResetSystem to UEFI Spec
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r-- | MdePkg/Include/Uefi/UefiSpec.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index e8feed120d..57cb4e804f 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h @@ -1004,11 +1004,15 @@ EFI_STATUS @param[in] ResetType The type of reset to perform.
@param[in] ResetStatus The status code for the reset.
- @param[in] DataSize The size, in bytes, of WatchdogData.
+ @param[in] DataSize The size, in bytes, of ResetData.
@param[in] ResetData For a ResetType of EfiResetCold, EfiResetWarm, or
EfiResetShutdown the data buffer starts with a Null-terminated
string, optionally followed by additional binary data.
-
+ The string is a description that the caller may use to further
+ indicate the reason for the system reset. ResetData is only
+ valid if ResetStatus is something other than EFI_SUCCESS
+ unless the ResetType is EfiResetPlatformSpecific
+ where a minimum amount of ResetData is always required.
**/
typedef
VOID
|