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
>
16
#include <
Library/S3BootScriptLib.h
>
17
#include <
Library/S3StallLib.h
>
18
30
UINTN
31
EFIAPI
32
S3Stall
(
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
}
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
MicroSecondDelay
UINTN EFIAPI MicroSecondDelay(IN UINTN MicroSeconds)
Definition:
ArmArchTimerLib.c:59
S3BootScriptSaveStall
RETURN_STATUS EFIAPI S3BootScriptSaveStall(IN UINTN Duration)
Definition:
BootScriptSave.c:1713
RETURN_SUCCESS
#define RETURN_SUCCESS
Definition:
Base.h:1066
IN
#define IN
Definition:
Base.h:279
DebugLib.h
S3BootScriptLib.h
S3Stall
UINTN EFIAPI S3Stall(IN UINTN MicroSeconds)
Definition:
S3StallLib.c:32
S3StallLib.h
TimerLib.h
MdePkg
Library
BaseS3StallLib
S3StallLib.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6