MdePkg: update comments in ResetSystem() according to UEFI2.7

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>
This commit is contained in:
Dandan Bi 2017-06-16 12:57:34 +08:00 committed by Hao Wu
parent 5779d550be
commit 28426918f0
2 changed files with 6 additions and 4 deletions

View File

@ -2,7 +2,7 @@
Provides library functions for each of the UEFI Runtime Services.
Only available to DXE and UEFI module types.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@ -329,9 +329,8 @@ EfiGetNextHighMonotonicCount (
Null-terminated Unicode 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 then EFI_SUCCESS. This pointer must be a physical
address. For a ResetType of EfiRestUpdate the data buffer also starts with a Null-terminated string
that is followed by a physical VOID * to an EFI_CAPSULE_HEADER.
address. For a ResetType of EfiResetPlatformSpecific the data buffer also starts with a Null-terminated
string that is followed by an EFI_GUID that describes the specific type of reset to perform.
**/
VOID
EFIAPI

View File

@ -1020,6 +1020,9 @@ EFI_STATUS
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
also starts with a Null-terminated string that is followed
by an EFI_GUID that describes the specific type of reset to perform.
**/
typedef
VOID