]>
Commit | Line | Data |
---|---|---|
e0337bfa | 1 | /** @file\r |
2 | Base Library CPU functions for Itanium\r | |
3 | \r | |
373ade0e | 4 | Copyright (c) 2006 - 2008, Intel Corporation<BR>\r |
e0337bfa | 5 | All rights reserved. This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
fa73b3be | 15 | #include <Library/PalLib.h>\r |
e0337bfa | 16 | \r |
17 | /**\r | |
18 | Places the CPU in a sleep state until an interrupt is received.\r | |
19 | \r | |
20 | Places the CPU in a sleep state until an interrupt is received. If interrupts\r | |
21 | are disabled prior to calling this function, then the CPU will be placed in a\r | |
22 | sleep state indefinitely.\r | |
23 | \r | |
24 | **/\r | |
25 | VOID\r | |
26 | EFIAPI\r | |
27 | CpuSleep (\r | |
28 | VOID\r | |
29 | )\r | |
30 | {\r | |
31 | PalCall (29, 0, 0, 0);\r | |
32 | }\r |