]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / Arm / CpuFlushTlb.S
1 #------------------------------------------------------------------------------
2 #
3 # CpuFlushTlb() for ARM
4 #
5 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
6 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 #------------------------------------------------------------------------------
10
11 .text
12 .p2align 2
13 GCC_ASM_EXPORT(CpuFlushTlb)
14
15 #/**
16 # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
17 #
18 # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
19 #
20 #**/
21 #VOID
22 #EFIAPI
23 #CpuFlushTlb (
24 # VOID
25 # )#
26 #
27 ASM_PFX(CpuFlushTlb):
28 mov r0,#0
29 mcr p15,0,r0,c8,c5,0 // Invalidate all the unlocked entried in TLB
30 bx LR