]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseCpuLib/Ia32/CpuSleep.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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
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 17VOID\r
18EFIAPI\r
19CpuSleep (\r
20 VOID\r
21 )\r
22{\r
23 _asm {\r
24 hlt\r
25 }\r
26}\r