/** @file This function offers an interface to Hook IHISI Sub function AH=10h,function "GetACStatus" ;****************************************************************************** ;* Copyright (c) 2015, 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 //[-start-200429-BAIN000045-add]// #ifdef LCFC_SUPPORT #include #endif //[-end-200429-BAIN000045-add]// /** This function offers an interface to Hook IHISI Sub function AH=10h,function "GetACStatus" @param[in, out] AcStatus On entry, pointer to AcStatus Address. On exit, points to updated AcStatus Address. @retval EFI_UNSUPPORTED Returns unsupported by default. @retval EFI_MEDIA_CHANGED Alter the Configuration Parameter or hook code. @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 OemSvcIhisiS10HookGetAcStatus ( IN OUT UINT8 *AcStatus ) { /*++ Todo: Add project specific code in here. --*/ //[-start-200429-BAIN000045-modify]// #ifdef LCFC_SUPPORT LfcEcLibPowerStateIsAc(AcStatus); return EFI_MEDIA_CHANGED; #else return EFI_UNSUPPORTED; #endif //[-end-200429-BAIN000045-modify]// }