From d821151e814fc85279ab72ae69d409b97edc64e1 Mon Sep 17 00:00:00 2001 From: Zhichao Gao Date: Wed, 27 Feb 2019 13:57:16 +0800 Subject: [PATCH] MdePkg/PeiServicesLib.c: Change comments of PeiServicesResetSystem2 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1460 Refer to Uefi spec 2.8, the ResetData is valid while ResetStatus is EFI_SUCCESS regardless of the ResetType is EfiResetPlatformSpecific or not. Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Signed-off-by: Zhichao Gao Reviewed-by: Liming Gao --- MdePkg/Library/PeiServicesLib/PeiServicesLib.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/MdePkg/Library/PeiServicesLib/PeiServicesLib.c b/MdePkg/Library/PeiServicesLib/PeiServicesLib.c index 35d03fed62..e8eaed71c8 100644 --- a/MdePkg/Library/PeiServicesLib/PeiServicesLib.c +++ b/MdePkg/Library/PeiServicesLib/PeiServicesLib.c @@ -1,7 +1,7 @@ /** @file Implementation for PEI Services Library. - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -793,9 +793,7 @@ PeiServicesInstallFvInfo2Ppi ( 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. + system reset. **/ VOID -- 2.39.2