forked from len0rd/rockbox
system_reboot() read only the first byte of the reset vector
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1210 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eac0f29567
commit
72315c29fa
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ void system_reboot (void)
|
||||||
ICR = 0;
|
ICR = 0;
|
||||||
|
|
||||||
asm volatile ("jmp @%0; mov.l @%1,r15" : :
|
asm volatile ("jmp @%0; mov.l @%1,r15" : :
|
||||||
"r"(*(char*)0),"r"(4));
|
"r"(*(int*)0),"r"(4));
|
||||||
}
|
}
|
||||||
|
|
||||||
void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */
|
void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue