aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/arm64/stage_entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm64/stage_entry.S')
-rw-r--r--src/arch/arm64/stage_entry.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/arm64/stage_entry.S b/src/arch/arm64/stage_entry.S
index cfe8edd1f..b7dc1b5b3 100644
--- a/src/arch/arm64/stage_entry.S
+++ b/src/arch/arm64/stage_entry.S
@@ -193,6 +193,12 @@ ENDPROC(__rmodule_entry)
get_element_addr CNTFRQ_INDEX
write_el0 cntfrq, x0, x1
+ get_element_addr CPTR_INDEX
+ write_el3 cptr, x0, x1
+
+ get_element_addr CPACR_INDEX
+ write_el1 cpacr, x0, x1
+
dsb sy
isb