From 72315c29fa12d14513a06d961a79570f2a37f26a Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 26 Jun 2002 22:39:22 +0000 Subject: 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 --- firmware/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3