mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
target: arm: mmu-arm.S: use APSR_nzcv instead of r15 in mrc operand
Change-Id: Ie27d323ac497fe8d63cee89d2c0722caa293cd25
This commit is contained in:
parent
127428e32d
commit
c4abbdd718
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue