]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / AArch64 / CpuFlushTlb.S
1 #------------------------------------------------------------------------------
2 #
3 # CpuFlushTlb() for ARM
4 #
5 # Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
6 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
7 # Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 #------------------------------------------------------------------------------
11
12 .text
13 .p2align 2
14 GCC_ASM_EXPORT(CpuFlushTlb)
15
16 #/**
17 # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
18 #
19 # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
20 #
21 #**/
22 #VOID
23 #EFIAPI
24 #CpuFlushTlb (
25 # VOID
26 # )#
27 #
28 ASM_PFX(CpuFlushTlb):
29 tlbi vmalle1 // Invalidate Inst TLB and Data TLB
30 dsb sy
31 isb
32 ret