1
0
Fork 0
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:
Linus Nielsen Feltzing 2002-06-26 22:39:22 +00:00
parent eac0f29567
commit 72315c29fa

View file

@ -312,7 +312,7 @@ void system_reboot (void)
ICR = 0;
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 */