summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2016-07-27 10:22:37 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-09-02 10:07:13 +0800
commite963b7468f8e739fda38ec9ed8c66ac5e5ad46bf (patch)
tree7c7ff84a98f6fb1a991a45874ffdd28f8989fa7d /MdePkg
parent3ef3209d3028b77af9f56f183370e7b67cd7c849 (diff)
downloadedk2-e963b7468f8e739fda38ec9ed8c66ac5e5ad46bf.tar.gz
edk2-e963b7468f8e739fda38ec9ed8c66ac5e5ad46bf.tar.bz2
edk2-e963b7468f8e739fda38ec9ed8c66ac5e5ad46bf.zip
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>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Uefi/UefiSpec.h8
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