]>
Commit | Line | Data |
---|---|---|
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 | 5 | Copyright (c) 2006 - 2008, Intel Corporation\r |
6 | All rights reserved. This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
fb3df220 | 10 | \r |
50a64e5b | 11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
12 | WITHOUT 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 | |
27 | VOID\r | |
28 | EFIAPI\r | |
29 | CpuSleep (\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 | |
39 | VOID\r | |
40 | EFIAPI\r | |
41 | CpuFlushTlb (\r | |
42 | VOID\r | |
43 | );\r | |
44 | \r | |
58867095 | 45 | \r |
8336fd87 | 46 | #endif\r |