]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c
MdeModulePkg: remove EnterS3WithImmediateWake () from ResetSystemLib
[mirror_edk2.git] / MdeModulePkg / Library / PeiResetSystemLib / PeiResetSystemLib.c
index f35acb3c6e4bdc5d16963f0a92e92b98ac5c7c04..6c8c770ca375ae80168e867090c79e020d2028e2 100644 (file)
@@ -2,13 +2,7 @@
   PEI Reset System Library instance that calls the ResetSystem2() PEI Service.\r
 \r
   Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -63,19 +57,6 @@ ResetShutdown (
   PeiServicesResetSystem2 (EfiResetShutdown, EFI_SUCCESS, 0, NULL);\r
 }\r
 \r
-/**\r
-  This function causes the system to enter S3 and then wake up immediately.\r
-\r
-  If this function returns, it means that the system does not support S3 feature.\r
-**/\r
-VOID\r
-EFIAPI\r
-EnterS3WithImmediateWake (\r
-  VOID\r
-  )\r
-{\r
-}\r
-\r
 /**\r
   This function causes a systemwide reset. The exact type of the reset is\r
   defined by the EFI_GUID that follows the Null-terminated Unicode string passed\r
@@ -107,9 +88,7 @@ ResetPlatformSpecific (
                             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
 VOID\r
 EFIAPI\r