/** @file SMM Chipset Services Library. This file contains only one function that is SmmCsSvcEnableFdWrites(). The function SmmCsSvcEnableFdWrites() use chipset services to enable/disable flash device write access. ;*************************************************************************** ;* Copyright (c) 2014, 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 #include #include #include #include #include STATIC UINT8 mFlashMode = SMM_FW_DEFAULT_MODE; /** Platform specific function to enable/disable flash device write access. @param[in] EnableWrites TRUE - Enable FALSE - Disable @retval EFI_SUCCESS Function returns successfully @return others Error occurs */ EFI_STATUS EFIAPI EnableFdWrites ( IN BOOLEAN EnableWrites ) { return EFI_SUCCESS; }