]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/Ia32/CpuFlushTlb.c
MdePkg: Apply uncrustify changes
[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 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
11
12 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
13
14 **/
15 VOID
16 EFIAPI
17 CpuFlushTlb (
18 VOID
19 )
20 {
21 _asm {
22 mov eax, cr3
23 mov cr3, eax
24 }
25 }