]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/Ia32/CpuFlushTlb.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / Ia32 / CpuFlushTlb.c
1 /** @file
2 CpuFlushTlb function.
3
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9
10
11 /**
12 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
13
14 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
15
16 **/
17 VOID
18 EFIAPI
19 CpuFlushTlb (
20 VOID
21 )
22 {
23 _asm {
24 mov eax, cr3
25 mov cr3, eax
26 }
27 }
28