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