ARM64 Library: Add macro to invalidate stage 1 TLB entries at current EL
BUG=chrome-os-partner:33962 BRANCH=None TEST=Compiles successfully for ryu. Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: I60d77456573a2a1e854d9f3ca730237acfb77728 Reviewed-on: https://chromium-review.googlesource.com/231698 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
62a0e324a0
commit
1e43a081f7
1 changed files with 15 additions and 0 deletions
|
|
@ -247,6 +247,21 @@
|
|||
402:
|
||||
.endm
|
||||
|
||||
/* Macro to invalidate all stage 1 TLB entries for current EL */
|
||||
.macro tlbiall_current temp
|
||||
switch_el \temp, 401f, 402f, 403f
|
||||
401:
|
||||
tlbi alle1
|
||||
b 404f
|
||||
402:
|
||||
tlbi alle2
|
||||
b 404f
|
||||
403:
|
||||
tlbi alle3
|
||||
b 404f
|
||||
404:
|
||||
.endm
|
||||
|
||||
#else
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue