aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2013-11-15 14:46:44 +0000
committerDan Handley <dan.handley@arm.com>2013-11-27 15:31:06 +0000
commit295538bc374bab20ea6ec68137cbee5997b541c6 (patch)
tree750c7eba5030d3192d7281fe6ec0e1b22f1fc0ee /lib
parent3738274dc1b40ad846d41d7bfd6a597bcfba9e70 (diff)
downloadarm-trusted-firmware-295538bc374bab20ea6ec68137cbee5997b541c6.tar.gz
AArch64: Remove EL-agnostic TLB helper functions
Also, don't invalidate the TLBs in disable_mmu() function, it's better to do it in enable_mmu() function just before actually enabling the MMU. Change-Id: Ib32d6660019b0b2c17254156aad4be67ab4970e1
Diffstat (limited to 'lib')
-rw-r--r--lib/arch/aarch64/tlb_helpers.S22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/arch/aarch64/tlb_helpers.S b/lib/arch/aarch64/tlb_helpers.S
index 8377f2c..eef7546 100644
--- a/lib/arch/aarch64/tlb_helpers.S
+++ b/lib/arch/aarch64/tlb_helpers.S
@@ -30,8 +30,6 @@
#include <arch_helpers.h>
- .globl tlbiall
- .globl tlbiallis
.globl tlbialle1
.globl tlbialle1is
.globl tlbialle2
@@ -43,26 +41,6 @@
.section .text, "ax"
-tlbiall:; .type tlbiall, %function
- mrs x0, CurrentEl
- cmp x0, #(MODE_EL1 << MODE_EL_SHIFT)
- b.eq tlbialle1
- cmp x0, #(MODE_EL2 << MODE_EL_SHIFT)
- b.eq tlbialle2
- cmp x0, #(MODE_EL3 << MODE_EL_SHIFT)
- b.eq tlbialle3
-
-
-tlbiallis:; .type tlbiallis, %function
- mrs x0, CurrentEl
- cmp x0, #(MODE_EL1 << MODE_EL_SHIFT)
- b.eq tlbialle1is
- cmp x0, #(MODE_EL2 << MODE_EL_SHIFT)
- b.eq tlbialle2is
- cmp x0, #(MODE_EL3 << MODE_EL_SHIFT)
- b.eq tlbialle3is
-
-
tlbialle1:; .type tlbialle1, %function
tlbi alle1
dsb sy