X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FLibrary%2FPeiResetSystemLib%2FPeiResetSystemLib.c;h=6c8c770ca375ae80168e867090c79e020d2028e2;hp=f35acb3c6e4bdc5d16963f0a92e92b98ac5c7c04;hb=7d3d87e4d7b91e300e22e29dcd1e15b09630ffce;hpb=049974bd6c73177c74dc5cb2719ecea38fd7daa4 diff --git a/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c b/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c index f35acb3c6e..6c8c770ca3 100644 --- a/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c +++ b/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c @@ -2,13 +2,7 @@ PEI Reset System Library instance that calls the ResetSystem2() PEI Service. Copyright (c) 2017 - 2019, 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 - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -63,19 +57,6 @@ ResetShutdown ( PeiServicesResetSystem2 (EfiResetShutdown, EFI_SUCCESS, 0, NULL); } -/** - This function causes the system to enter S3 and then wake up immediately. - - If this function returns, it means that the system does not support S3 feature. -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string passed @@ -107,9 +88,7 @@ ResetPlatformSpecific ( 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 EFIAPI