]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/UefiSpec.h: Align function header of ResetSystem to UEFI Spec
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 27 Jul 2016 02:22:37 +0000 (10:22 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Fri, 2 Sep 2016 02:07:13 +0000 (10:07 +0800)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Uefi/UefiSpec.h

index e8feed120ded92565c511feeb7b8b3b03468c610..57cb4e804f703e7e21c1cf6ca1b23b3aa65386ab 100644 (file)
@@ -1004,11 +1004,15 @@ EFI_STATUS
 \r
   @param[in]  ResetType         The type of reset to perform.\r
   @param[in]  ResetStatus       The status code for the reset.\r
-  @param[in]  DataSize          The size, in bytes, of WatchdogData.\r
+  @param[in]  DataSize          The size, in bytes, of ResetData.\r
   @param[in]  ResetData         For a ResetType of EfiResetCold, EfiResetWarm, or\r
                                 EfiResetShutdown the data buffer starts with a Null-terminated\r
                                 string, optionally followed by additional binary data.\r
-\r
+                                The string is a description that the caller may use to further\r
+                                indicate the reason for the system reset. ResetData is only\r
+                                valid if ResetStatus is something other than EFI_SUCCESS\r
+                                unless the ResetType is EfiResetPlatformSpecific\r
+                                where a minimum amount of ResetData is always required.\r
 **/\r
 typedef\r
 VOID\r