Skip to content

Commit

Permalink
Wrong register
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 authored Nov 7, 2024
1 parent 3af3100 commit 46dfa56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TPRO.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ static inline void os_thread_self_restrict_tpro_to_rw() {
__asm__ __volatile__ (
"mov x0, %0\n"
"ldr x0, [x0]\n"
"msr S3_4_c15_c2_7, x0\n"
"msr s3_6_c15_c1_5, x0\n"
"isb sy\n"
:: "r" (_COMM_PAGE_TPRO_WRITE_ENABLE)
: "memory", "x0"
Expand Down

0 comments on commit 46dfa56

Please sign in to comment.