alder_lake_bios/Intel/AlderLake/AlderLakeChipsetPkg/Library/DxeOemSvcChipsetLib/OemSvcHookPlatformReset.c

42 lines
1.5 KiB
C

/** @file
This function provides an interface to hook PlatformResetSystem
;******************************************************************************
;* Copyright (c) 2014, Insyde Software Corporation. All Rights Reserved.
;*
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
;* transmit, broadcast, present, recite, release, license or otherwise exploit
;* any part of this publication in any form, by any means, without the prior
;* written permission of Insyde Software Corporation.
;*
;******************************************************************************
*/
#include <Library/DxeOemSvcChipsetLib.h>
/**
This function provides an interface to hook PlatformResetSystem
@param[in] ResetType Warm or cold.
@param[in] ResetStatus Possible cause of reset.
@retval EFI_UNSUPPORTED Returns unsupported by default.
@retval EFI_MEDIA_CHANGED Alter the Configuration Parameter.
@retval EFI_SUCCESS The function performs the same operation as caller.
The caller will skip the specified behavior and assuming
that it has been handled completely by this function.
*/
EFI_STATUS
OemSvcHookPlatformReset (
IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus
)
{
/*++
Todo:
Add project specific code in here.
--*/
return EFI_UNSUPPORTED;
}