]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | CpuFlushTlb function.\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r | |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | \r | |
7 | **/\r | |
8 | \r | |
9 | /**\r | |
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 | |
13 | \r | |
14 | **/\r | |
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 |