]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.asm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / AArch64 / CpuFlushTlb.asm
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 EXPORT CpuFlushTlb
13 AREA BaseCpuLib_LowLevel, CODE, READONLY
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 CpuFlushTlb
28 tlbi vmalle1 // Invalidate Inst TLB and Data TLB
29 dsb sy
30 isb
31 ret
32
33 END