]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/PeiMain: Change comments of PeiResetSystem2
authorZhichao Gao <zhichao.gao@intel.com>
Wed, 27 Feb 2019 06:32:08 +0000 (14:32 +0800)
committerLiming Gao <liming.gao@intel.com>
Sun, 28 Apr 2019 01:40:16 +0000 (09:40 +0800)
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: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Turner <Michael.Turner@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
MdeModulePkg/Core/Pei/PeiMain.h
MdeModulePkg/Core/Pei/Reset/Reset.c

index 0aed4f46855ebd7907ebbe6454570d578f6736b9..f2aa97c6640c0bd26aba5d7b8020a196604c95a9 100644 (file)
@@ -1097,9 +1097,7 @@ PeiResetSystem (
                             the data buffer starts with a Null-terminated string, optionally\r
                             followed by additional binary data. The string is a description\r
                             that the caller may use to further indicate the reason for the\r
-                            system reset. ResetData is only valid if ResetStatus is something\r
-                            other than EFI_SUCCESS unless the ResetType is EfiResetPlatformSpecific\r
-                            where a minimum amount of ResetData is always required.\r
+                            system reset.\r
 \r
 **/\r
 VOID\r
index 263eace239ececa5508dd9ef6aea259dd933a632..0c3cfad0353e768158d722624a3b028ece7a766d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Pei Core Reset System Support\r
 \r
-Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -72,9 +72,7 @@ PeiResetSystem (
                             the data buffer starts with a Null-terminated string, optionally\r
                             followed by additional binary data. The string is a description\r
                             that the caller may use to further indicate the reason for the\r
-                            system reset. ResetData is only valid if ResetStatus is something\r
-                            other than EFI_SUCCESS unless the ResetType is EfiResetPlatformSpecific\r
-                            where a minimum amount of ResetData is always required.\r
+                            system reset.\r
 \r
 **/\r
 VOID\r