]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Library/CpuLib.h
Synchronization of MDE Library Spec., Mde.dec, and corresponding head files in MdePkg...
[mirror_edk2.git] / MdePkg / Include / Library / CpuLib.h
CommitLineData
fb3df220 1/** @file\r
50a64e5b 2 Provides CPU architecture specific functions that can not be defined\r
3 in the Base Library due to dependencies on the PAL Library\r
fb3df220 4\r
50a64e5b 5Copyright (c) 2006 - 2008, Intel Corporation\r
6All rights reserved. This program and the accompanying materials\r
7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
fb3df220 10\r
50a64e5b 11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
fb3df220 13\r
fb3df220 14**/\r
15\r
16#ifndef __CPU_LIB_H__\r
17#define __CPU_LIB_H__\r
18\r
7270fe87 19/**\r
20 Places the CPU in a sleep state until an interrupt is received.\r
21\r
22 Places the CPU in a sleep state until an interrupt is received. If interrupts\r
23 are disabled prior to calling this function, then the CPU will be placed in a\r
24 sleep state indefinitely.\r
25\r
26**/\r
27VOID\r
28EFIAPI\r
29CpuSleep (\r
30 VOID\r
31 );\r
32\r
33/**\r
34 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r
35\r
36 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r
37\r
38**/\r
39VOID\r
40EFIAPI\r
41CpuFlushTlb (\r
42 VOID\r
43 );\r
44\r
58867095 45\r
8336fd87 46#endif\r