]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: update comments in ResetSystem() according to UEFI2.7
authorDandan Bi <dandan.bi@intel.com>
Fri, 16 Jun 2017 04:57:34 +0000 (12:57 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 20 Jun 2017 01:29:42 +0000 (09:29 +0800)
Cc: Liming Gao <liming.gao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdePkg/Include/Library/UefiRuntimeLib.h
MdePkg/Include/Uefi/UefiSpec.h

index 99ca824fba349d2cb8dbb2e70deeae5b37a111a4..0bca416a4bebf974210cbf616658843f0a42d985 100644 (file)
@@ -2,7 +2,7 @@
   Provides library functions for each of the UEFI Runtime Services.\r
   Only available to DXE and UEFI module types.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -329,9 +329,8 @@ EfiGetNextHighMonotonicCount (
                       Null-terminated Unicode string, optionally followed by additional binary data. The string is a\r
                       description that the caller may use to further indicate the reason for the system reset. ResetData\r
                       is only valid if ResetStatus is something other then EFI_SUCCESS. This pointer must be a physical\r
-                      address. For a ResetType of EfiRestUpdate the data buffer also starts with a Null-terminated string\r
-                      that is followed by a physical VOID * to an EFI_CAPSULE_HEADER.\r
-\r
+                      address. For a ResetType of EfiResetPlatformSpecific the data buffer also starts with a Null-terminated\r
+                      string that is followed by an EFI_GUID that describes the specific type of reset to perform.\r
 **/\r
 VOID\r
 EFIAPI\r
index 4eb9384c1b2e349c74068a56435e20876965cfd9..9203df93408432310eb975c9480fed8d8301fec8 100644 (file)
@@ -1020,6 +1020,9 @@ EFI_STATUS
                                 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
+                                For a ResetType of EfiResetPlatformSpecific the data buffer\r
+                                also starts with a Null-terminated string that is followed\r
+                                by an EFI_GUID that describes the specific type of reset to perform.\r
 **/\r
 typedef\r
 VOID\r