]>
Commit | Line | Data |
---|---|---|
ebd04fc2 | 1 | /** @file\r |
2 | CpuFlushTlb function for Ia32/X64 GCC.\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2008, Intel Corporation<BR>\r | |
2bd1edf4 | 5 | Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r |
ebd04fc2 | 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 | |
10 | \r | |
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 | |
13 | \r | |
14 | **/\r | |
15 | \r | |
2bd1edf4 | 16 | #include <Library/BaseLib.h>\r |
ebd04fc2 | 17 | \r |
18 | /**\r | |
19 | Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r | |
20 | \r | |
21 | Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r | |
22 | \r | |
23 | **/\r | |
24 | VOID\r | |
25 | EFIAPI\r | |
26 | CpuFlushTlb (\r | |
27 | VOID\r | |
28 | )\r | |
29 | {\r | |
2bd1edf4 | 30 | AsmWriteCr3 (AsmReadCr3 ());\r |
ebd04fc2 | 31 | }\r |
32 | \r |