summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-06-26 22:39:22 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-06-26 22:39:22 +0000
commit72315c29fa12d14513a06d961a79570f2a37f26a (patch)
tree7405fea6417b4a0be6455ad3ccce91fde5346232 /firmware
parenteac0f295677dcfea7e56075e4bd3fb9fb411117b (diff)
downloadrockbox-72315c29fa12d14513a06d961a79570f2a37f26a.tar.gz
rockbox-72315c29fa12d14513a06d961a79570f2a37f26a.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/system.c b/firmware/system.c
index c9d1c6e153..25377f3b86 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -312,7 +312,7 @@ void system_reboot (void)
312 ICR = 0; 312 ICR = 0;
313 313
314 asm volatile ("jmp @%0; mov.l @%1,r15" : : 314 asm volatile ("jmp @%0; mov.l @%1,r15" : :
315 "r"(*(char*)0),"r"(4)); 315 "r"(*(int*)0),"r"(4));
316} 316}
317 317
318void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */ 318void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */