TianoCore EDK2 master
Loading...
Searching...
No Matches
S3StallLib.h File Reference

Go to the source code of this file.

Functions

UINTN EFIAPI S3Stall (IN UINTN MicroSeconds)
 

Detailed Description

Stall Services that perform stalls 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.h.

Function Documentation

◆ S3Stall()

UINTN EFIAPI S3Stall ( IN UINTN  MicroSeconds)

Stalls the CPU for at least the given number of microseconds 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
[in]MicroSecondsThe minimum number of microseconds to delay.
Returns
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.