33 lines
1.0 KiB
C
33 lines
1.0 KiB
C
/** @file
|
|
PEI Chipset Services Library.
|
|
|
|
This file contains only one function that is PeiCsSvcGetSleepState().
|
|
The function PeiCsSvcGetSleepState() use chipset services to identify
|
|
sleep state.
|
|
|
|
;***************************************************************************
|
|
;* 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.
|
|
;*
|
|
;******************************************************************************
|
|
*/
|
|
/**
|
|
To identify sleep state.
|
|
|
|
@param[in, out] SleepState 3 - This is an S3 restart
|
|
4 - This is an S4 restart
|
|
|
|
@retval EFI_SUCCESS Function always returns successfully
|
|
*/
|
|
EFI_STATUS
|
|
GetSleepState (
|
|
IN OUT UINT8 *SleepState
|
|
)
|
|
{
|
|
return EFI_SUCCESS;
|
|
}
|