]>
Commit | Line | Data |
---|---|---|
e0337bfa | 1 | /** @file\r |
2 | CpuFlushTlb function.\r | |
3 | \r | |
de2d3419 | 4 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r |
9344f092 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
e0337bfa | 6 | \r |
7 | **/\r | |
8 | \r | |
42eedea9 | 9 | /**\r |
3e5c3238 | 10 | Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r |
11 | \r | |
12 | Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r | |
e0337bfa | 13 | \r |
42eedea9 | 14 | **/\r |
e0337bfa | 15 | VOID\r |
16 | EFIAPI\r | |
17 | CpuFlushTlb (\r | |
18 | VOID\r | |
19 | )\r | |
20 | {\r | |
21 | _asm {\r | |
22 | mov eax, cr3\r | |
23 | mov cr3, eax\r | |
24 | }\r | |
25 | }\r |