TianoCore EDK2 master
Loading...
Searching...
No Matches
S3StallLib.c File Reference
#include <Base.h>
#include <Library/TimerLib.h>
#include <Library/DebugLib.h>
#include <Library/S3BootScriptLib.h>
#include <Library/S3StallLib.h>

Go to the source code of this file.

Functions

UINTN EFIAPI S3Stall (IN UINTN MicroSeconds)
 

Detailed Description

Stall Services that do stall and also enable the Stall operatation to be replayed during an S3 resume. This library class maps directly on top of the Timer class.

Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file S3StallLib.c.

Function Documentation

◆ S3Stall()

UINTN EFIAPI S3Stall ( IN UINTN  MicroSeconds)

Stalls the CPU for at least the given number of microseconds and and saves the value in the S3 script to be replayed on S3 resume.

Stalls the CPU for the number of microseconds specified by MicroSeconds.

Parameters
MicroSecondsThe minimum number of microseconds to delay.
Returns
MicroSeconds

Definition at line 32 of file S3StallLib.c.