ICE_TEA_BIOS/Board/Oem/L05AlderLakeHXMultiBoardPkg/Library/PeiOemSvcKernelLib/OemSvcHookWhenRecoveryFail.c
LCFC\AiXia.Jiang a870bff2f4 1.Frist commit
2022-09-30 14:59:06 +08:00

55 lines
1.6 KiB
C

/** @file
Provide OEM to modify the task when the recovery failed.
;******************************************************************************
;* Copyright (c) 2012, 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/PeiOemSvcKernelLib.h>
/**
This OemService call at the end of the Recovery Mode.
When flash recovery BIOS failed, this service will be called.
It provides OEM to modify the task when the recovery failed.
@param Based on OEM design.
@retval EFI_UNSUPPORTED Returns unsupported by default.
@retval EFI_SUCCESS The service is customized in the project.
@retval Others Base on OEM design.
**/
EFI_STATUS
OemSvcHookWhenRecoveryFail (
VOID
)
{
/*++
Todo:
Add project specific code in here.
--*/
#ifdef L05_BIOS_SELF_HEALING_SUPPORT
//
// [Lenovo BIOS Self-Healing Design Guidance Specification v2.2]
// 2.3 Notification Interface
// Crisis (Recovery Fail):
// When loading cisis recovery file fails, if cannot display, please make beep sound to remind user to do crisis.
// BIOS should shutdown the unit and wait for user to do crisis.
//
//
// Todo:
// Add project specific code in here.
//
#endif
return EFI_UNSUPPORTED;
}