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:
Rafaël Carré 2008-11-06 15:46:22 +00:00
parent 6e645cc4eb
commit 5bef735cf5

View file

@ -215,7 +215,7 @@ void system_init(void)
asm volatile(
"mrs r0, cpsr \n"
"bic r0, r0, #0x80 \n" /* enable interrupts */
"orr r0, r0, #0x80 \n" /* disable interrupts */
"msr cpsr, r0 \n"
"mov r0, #0 \n"
"mcr p15, 0, r0, c7, c7 \n" /* invalidate icache & dcache */