mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
AS3525: disable interrupts
init_threads() requires that they are disabled when called anyway they are not needed at the moment, so leave them disabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19029 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6e645cc4eb
commit
5bef735cf5
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ void system_init(void)
|
||||||
|
|
||||||
asm volatile(
|
asm volatile(
|
||||||
"mrs r0, cpsr \n"
|
"mrs r0, cpsr \n"
|
||||||
"bic r0, r0, #0x80 \n" /* enable interrupts */
|
"orr r0, r0, #0x80 \n" /* disable interrupts */
|
||||||
"msr cpsr, r0 \n"
|
"msr cpsr, r0 \n"
|
||||||
"mov r0, #0 \n"
|
"mov r0, #0 \n"
|
||||||
"mcr p15, 0, r0, c7, c7 \n" /* invalidate icache & dcache */
|
"mcr p15, 0, r0, c7, c7 \n" /* invalidate icache & dcache */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue