VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/S3StallLib.h

Last change on this file was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 746 bytes
Line 
1/** @file
2 Stall Services that perform stalls and also enable the Stall operatation
3 to be replayed during an S3 resume. This library class maps directly on top
4 of the Timer class.
5
6 Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
7
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10**/
11
12#ifndef __S3_STALL_LIB_H__
13#define __S3_STALL_LIB_H__
14
15/**
16 Stalls the CPU for at least the given number of microseconds and saves
17 the value in the S3 script to be replayed on S3 resume.
18
19 Stalls the CPU for the number of microseconds specified by MicroSeconds.
20
21 @param[in] MicroSeconds The minimum number of microseconds to delay.
22
23 @return MicroSeconds.
24
25**/
26UINTN
27EFIAPI
28S3Stall (
29 IN UINTN MicroSeconds
30 );
31
32#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette