TianoCore EDK2 master
Loading...
Searching...
No Matches
S3StallLib.c
Go to the documentation of this file.
1
12#include <Base.h>
13
14#include <Library/TimerLib.h>
15#include <Library/DebugLib.h>
17#include <Library/S3StallLib.h>
18
31EFIAPI
33 IN UINTN MicroSeconds
34 )
35{
36 RETURN_STATUS Status;
37
38 Status = S3BootScriptSaveStall (MicroSecondDelay (MicroSeconds));
39 ASSERT (Status == RETURN_SUCCESS);
40
41 return MicroSeconds;
42}
UINT64 UINTN
UINTN EFIAPI MicroSecondDelay(IN UINTN MicroSeconds)
RETURN_STATUS EFIAPI S3BootScriptSaveStall(IN UINTN Duration)
#define RETURN_SUCCESS
Definition: Base.h:1066
#define IN
Definition: Base.h:279
UINTN EFIAPI S3Stall(IN UINTN MicroSeconds)
Definition: S3StallLib.c:32