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

44 lines
1.5 KiB
C

/** @file
Provide hook function for OEM to retrieve EC version.
;******************************************************************************
;* 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 major/minor version from EC.
@param[out] ReadEcVersionStatus The status of read EC version.
@param[out] MajorNum EC major number.
@param[out] MinorNum EC minor number.
@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
OemSvcEcVersion (
OUT EFI_STATUS *ReadEcVersionStatus,
OUT UINT8 *MajorNum,
OUT UINT8 *MinorNum
)
{
/*++
Todo:
Add project specific code in here.
--*/
return EFI_UNSUPPORTED;
}