]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/Ia32/CpuFlushTlbGcc.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / Ia32 / CpuFlushTlbGcc.c
1 /** @file
2 CpuFlushTlb function for Ia32/X64 GCC.
3
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #include <Library/BaseLib.h>
11
12 /**
13 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
14
15 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
16
17 **/
18 VOID
19 EFIAPI
20 CpuFlushTlb (
21 VOID
22 )
23 {
24 AsmWriteCr3 (AsmReadCr3 ());
25 }