]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/Ia32/CpuSleep.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / Ia32 / CpuSleep.c
1 /** @file
2 CpuSleep function.
3
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 /**
10 Places the CPU in a sleep state until an interrupt is received.
11
12 Places the CPU in a sleep state until an interrupt is received. If interrupts
13 are disabled prior to calling this function, then the CPU will be placed in a
14 sleep state indefinitely.
15
16 **/
17 VOID
18 EFIAPI
19 CpuSleep (
20 VOID
21 )
22 {
23 _asm {
24 hlt
25 }
26 }