/** @file Implement the Chipset Servcie IHISI FETS subfunction for this driver. ;*************************************************************************** ;* 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 #include #define RST_CNT 0xCF9 #define V_RST_CNT_FULLRESET 0x0E /** Fets reset system function. @retval EFI_SUCCESS Successfully returns. **/ EFI_STATUS EFIAPI IhisiFetsReboot ( VOID ) { UINT8 Buffer; Buffer = 0; Buffer = V_RST_CNT_FULLRESET; gSmst->SmmIo.Io.Write (&gSmst->SmmIo, SMM_IO_UINT8, RST_CNT, 1, &Buffer ); return EFI_SUCCESS; } /** Fets shutdown function. @retval EFI_SUCCESS Successfully returns. **/ EFI_STATUS EFIAPI IhisiFetsShutdown ( VOID ) { IhisiFbtsShutDown (); return EFI_SUCCESS; }