]>
Commit | Line | Data |
---|---|---|
9095d37b | 1 | #------------------------------------------------------------------------------\r |
990e25aa | 2 | #\r |
3 | # CpuFlushTlb() for ARM\r | |
4 | #\r | |
9095d37b | 5 | # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r |
de2d3419 HT |
6 | # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r |
7 | # This program and the accompanying materials\r | |
990e25aa | 8 | # are licensed and made available under the terms and conditions of the BSD License\r |
9 | # which accompanies this distribution. The full text of the license may be found at\r | |
2fc59a00 | 10 | # http://opensource.org/licenses/bsd-license.php.\r |
990e25aa | 11 | #\r |
12 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | #\r | |
15 | #------------------------------------------------------------------------------\r | |
16 | \r | |
17 | .text\r | |
18 | .p2align 2\r | |
4c8a6e06 | 19 | GCC_ASM_EXPORT(CpuFlushTlb)\r |
990e25aa | 20 | \r |
21 | #/**\r | |
22 | # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r | |
23 | #\r | |
24 | # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r | |
25 | #\r | |
26 | #**/\r | |
27 | #VOID\r | |
28 | #EFIAPI\r | |
29 | #CpuFlushTlb (\r | |
30 | # VOID\r | |
31 | # )#\r | |
32 | #\r | |
33 | ASM_PFX(CpuFlushTlb):\r | |
34 | mov r0,#0\r | |
2bd1edf4 | 35 | mcr p15,0,r0,c8,c5,0 // Invalidate all the unlocked entried in TLB\r |
990e25aa | 36 | bx LR\r |