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