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