]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/CpuLib/Ia32/CpuPause.c
Add missing library instance to MdePkg.dsc
[mirror_edk2.git] / MdePkg / Library / CpuLib / Ia32 / CpuPause.c
1 /** @file
2 CpuPause function.
3
4 Copyright (c) 2006 - 2007, Intel Corporation<BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15
16 /**
17 Places the CPU in a pause state until an interrupt is
18 received.
19
20 Places the CPU in a pause state until an interrupt is
21 received. If interrupts are disabled prior to calling this
22 function, then the CPU will be placed in a pause state
23 indefinitely.
24
25 **/
26 VOID
27 EFIAPI
28 CpuPause (
29 VOID
30 )
31 {
32 _asm {
33 pause
34 }
35 }
36