/** @file Provide hook function for OEM to implement save and restore KBC. ;****************************************************************************** ;* Copyright (c) 2014 - 2020, 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 /** This function offers an interface to provide hook function for OEM to implement save and restore KBC @param[in] SaveRestoreFlag Save/Restore Flag. TRUE means restore Keyboard command byte; FALSE means Save Keyboard command byte. @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 OemSvcEcSaveRestoreKbc ( IN BOOLEAN SaveRestoreFlag ) { /*++ Todo: Add project specific code in here. --*/ #if 0 if (SaveRestoreFlag) { // // Restore Keyboard command byte // } else { // // Save Keyboard command byte // } #endif return EFI_UNSUPPORTED; }