]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r | |
4 | \r\r | |
5 | This program and the accompanying materials are licensed and made available under\r\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution. \r\r | |
7 | The full text of the license may be found at \r\r | |
8 | http://opensource.org/licenses/bsd-license.php. \r\r | |
9 | \r\r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r | |
12 | \r\r | |
13 | \r | |
14 | Module Name:\r | |
15 | \r | |
16 | SmmStallLib.h\r | |
17 | \r | |
18 | Abstract:\r | |
19 | \r | |
20 | This library provides SMM functions for Stall.\r | |
21 | These can be used to save size and simplify code.\r | |
22 | All contents must be runtime and SMM safe.\r | |
23 | \r | |
24 | --*/\r | |
25 | \r | |
26 | #ifndef _SMM_STALL_LIB_H_\r | |
27 | #define _SMM_STALL_LIB_H_\r | |
28 | #include "PiDxe.h"\r | |
29 | #include "Pi/PiSmmCis.h"\r | |
30 | extern EFI_SMM_SYSTEM_TABLE2 *mSmst;\r | |
31 | \r | |
32 | /**\r | |
33 | Delay for at least the request number of microseconds\r | |
34 | \r | |
35 | @param[in] Microseconds Number of microseconds to delay.\r | |
36 | \r | |
37 | @retval None\r | |
38 | \r | |
39 | **/\r | |
40 | VOID\r | |
41 | SmmStall (\r | |
42 | IN UINTN Microseconds\r | |
43 | );\r | |
44 | \r | |
45 | #endif\r |