]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Library/S3StallLib.h
MdePkg: fix comment typo in DebugLib.h
[mirror_edk2.git] / MdePkg / Include / Library / S3StallLib.h
CommitLineData
fe69ac84 1/** @file\r
2 Stall Services that perform stalls and also enable the Stall operatation\r
3 to be replayed during an S3 resume. This library class maps directly on top\r
4 of the Timer class. \r
5\r
6 Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
7\r
8 This program and the accompanying materials\r
9 are licensed and made available under the terms and conditions\r
10 of the BSD License which accompanies this distribution. The\r
11 full text of the license may be found at\r
12 http://opensource.org/licenses/bsd-license.php\r
13\r
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16\r
17**/\r
18\r
19#ifndef __S3_STALL_LIB_H__\r
20#define __S3_STALL_LIB_H__\r
21\r
22/**\r
23 Stalls the CPU for at least the given number of microseconds and saves\r
24 the value in the S3 script to be replayed on S3 resume.\r
25\r
26 Stalls the CPU for the number of microseconds specified by MicroSeconds.\r
27\r
28 @param[in] MicroSeconds The minimum number of microseconds to delay.\r
29\r
30 @return MicroSeconds.\r
31\r
32**/\r
33UINTN\r
34EFIAPI\r
35S3Stall (\r
36 IN UINTN MicroSeconds\r
37 );\r
38\r
39#endif\r