alder_lake_bios/Intel/AlderLake/AlderLakeChipsetPkg/Library/BaseOemSvcChipsetLib/OemSvcEcGetLidState.c

42 lines
1.4 KiB
C

/** @file
Provide hook function for OEM to get lid state from EC.
;******************************************************************************
;* 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/BaseOemSvcChipsetLib.h>
/**
Get Lid state from EC.
@param[out] EcGetLidState The status of get Lid.
@param[out] LidIsOpen TRUE: Lid is open; FALSE: Lid is close.
@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
OemSvcEcGetLidState (
OUT EFI_STATUS *EcGetLidState,
OUT UINT8 *LidIsOpen
)
{
/*++
Todo:
Add project specific code in here.
--*/
return EFI_UNSUPPORTED;
}