]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseCpuLib/Ia32/CpuSleep.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / Ia32 / CpuSleep.c
CommitLineData
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
e0337bfa 9\r
f80b0830 10/**\r
11 Places the CPU in a sleep state until an interrupt is received.\r
e0337bfa 12\r
f80b0830 13 Places the CPU in a sleep state until an interrupt is received. If interrupts\r
14 are disabled prior to calling this function, then the CPU will be placed in a\r
15 sleep state indefinitely.\r
16\r
17**/\r
e0337bfa 18VOID\r
19EFIAPI\r
20CpuSleep (\r
21 VOID\r
22 )\r
23{\r
24 _asm {\r
25 hlt\r
26 }\r
27}\r
28\r