]>
Commit | Line | Data |
---|---|---|
e0337bfa | 1 | /** @file\r |
2 | CpuSleep function.\r | |
3 | \r | |
de2d3419 | 4 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r |
9344f092 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
e0337bfa | 6 | \r |
7 | **/\r | |
8 | \r | |
f80b0830 | 9 | /**\r |
10 | Places the CPU in a sleep state until an interrupt is received.\r | |
e0337bfa | 11 | \r |
f80b0830 | 12 | Places the CPU in a sleep state until an interrupt is received. If interrupts\r |
13 | are disabled prior to calling this function, then the CPU will be placed in a\r | |
14 | sleep state indefinitely.\r | |
15 | \r | |
16 | **/\r | |
e0337bfa | 17 | VOID\r |
18 | EFIAPI\r | |
19 | CpuSleep (\r | |
20 | VOID\r | |
21 | )\r | |
22 | {\r | |
23 | _asm {\r | |
24 | hlt\r | |
25 | }\r | |
26 | }\r |