Skip to content

Commit

Permalink
armstub8: Initialize CPTR_EL3 with zeros
Browse files Browse the repository at this point in the history
  • Loading branch information
rhythm16 committed Jul 3, 2021
1 parent fc0e73c commit 44fdfd8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions armstubs/armstub8.S
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ _start:
msr CNTVOFF_EL2, xzr

/* Enable FP/SIMD */
/* All set bits below are res1; bit 10 (TFP) is set to 0 */
mov x0, #0x33ff
msr CPTR_EL3, x0
/* Bit 10 (TFP) is set to 0 */
msr CPTR_EL3, xzr

/* Set up SCR */
mov x0, #SCR_VAL
Expand Down

0 comments on commit 44fdfd8

Please sign in to comment.