/** @file Provides an interface for switch Flip to Boot. ;****************************************************************************** ;* Copyright (c) 2020, Insyde Software Corp. 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 #include #ifdef LCFC_SUPPORT #include #endif /** Provides an interface for switch Flip to Boot. @param TriggerPoint Trigger point for project reference. @param L05FlipToBoot The switch setting of Flip to Boot. @retval EFI_UNSUPPORTED Returns unsupported by default. The return status will not be referenced. **/ EFI_STATUS OemSvcSwitchFlipToBoot ( IN L05_OEM_SWITCH_TRIGGER_POINT_TYPE TriggerPoint, IN UINT8 L05FlipToBoot ) { /*++ Todo: Add project specific code in here. --*/ #ifdef LCFC_SUPPORT EFI_STATUS Status = EFI_SUCCESS; Status = LfcEcLibSetFlipToBootMode(L05FlipToBoot); return Status; #else return EFI_UNSUPPORTED; #endif }