target: arm: mmu-arm.S: use APSR_nzcv instead of r15 in mrc operand
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sat, 16 May 2026 12:32:30 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit c4abbdd718514202dedebf83b1c674fe08821ec4 Author: mojyack <[email protected]> Date: Fri Apr 24 22:43:38 2026 +0900 target: arm: mmu-arm.S: use APSR_nzcv instead of r15 in mrc operand Change-Id: Ie27d323ac497fe8d63cee89d2c0722caa293cd25 diff --git a/firmware/target/arm/mmu-arm.S b/firmware/target/arm/mmu-arm.S index 85903ec798..47738e764f 100644 --- a/firmware/target/arm/mmu-arm.S +++ b/firmware/target/arm/mmu-arm.S @@ -336,7 +336,7 @@ discard_dcache_range: commit_dcache: #ifdef HAVE_TEST_AND_CLEAN_CACHE - mrc p15, 0, r15, c7, c10, 3 @ test and clean dcache + mrc p15, 0, APSR_nzcv, c7, c10, 3 @ test and clean dcache bne commit_dcache mov r1, #0 #else @@ -367,7 +367,7 @@ commit_dcache: commit_discard_dcache: #ifdef HAVE_TEST_AND_CLEAN_CACHE - mrc p15, 0, r15, c7, c14, 3 @ test, clean and invalidate dcache + mrc p15, 0, APSR_nzcv, c7, c14, 3 @ test, clean and invalidate dcache bne commit_discard_dcache mov r1, #0 #else -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs