summaryrefslogtreecommitdiff
path: root/firmware/system.c
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/system.c
parenteac0f295677dcfea7e56075e4bd3fb9fb411117b (diff)
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/system.c')
-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)
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 */