From 28426918f0eae7e98a7a854c6eca64e88e75bf41 Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Fri, 16 Jun 2017 12:57:34 +0800 Subject: MdePkg: update comments in ResetSystem() according to UEFI2.7 Cc: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Reviewed-by: Star Zeng Reviewed-by: Ruiyu Ni --- MdePkg/Include/Library/UefiRuntimeLib.h | 7 +++---- MdePkg/Include/Uefi/UefiSpec.h | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Include/Library/UefiRuntimeLib.h b/MdePkg/Include/Library/UefiRuntimeLib.h index 99ca824fba..0bca416a4b 100644 --- a/MdePkg/Include/Library/UefiRuntimeLib.h +++ b/MdePkg/Include/Library/UefiRuntimeLib.h @@ -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.
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
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 diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 4eb9384c1b..9203df9340 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h @@ -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 -- cgit v1.2.3