Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

armstub8: Initialize CPTR_EL3 with zeros #123

Merged
merged 1 commit into from
Jul 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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