summaryrefslogtreecommitdiff
path: root/firmware/export/sh7034.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-11-09 00:54:43 +0000
committerJens Arnold <amiconn@rockbox.org>2005-11-09 00:54:43 +0000
commit0b00108c3eab73420c5b03cbe603b865276e13e8 (patch)
tree4259ba1fbdb86de800249b38b124ac87342e7f59 /firmware/export/sh7034.h
parent219944f6a306ced75b3a59b47afef90885e73d22 (diff)
downloadrockbox-0b00108c3eab73420c5b03cbe603b865276e13e8.tar.gz
rockbox-0b00108c3eab73420c5b03cbe603b865276e13e8.zip
SH1: Changed UIE() to use the same reset method as on coldfire, using the watchdog timer. Should be more reliable this way. Disabled LED handling and added reboot-with-on for Ondio. * All: #ifdef cleanup in panicf(), added reboot-with-on for Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7799 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/sh7034.h')
-rw-r--r--firmware/export/sh7034.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/firmware/export/sh7034.h b/firmware/export/sh7034.h
index c15ee2a88f..242e5687f1 100644
--- a/firmware/export/sh7034.h
+++ b/firmware/export/sh7034.h
@@ -294,9 +294,12 @@
294#define RTCNT (*((volatile unsigned short*)RTCNT_ADDR)) 294#define RTCNT (*((volatile unsigned short*)RTCNT_ADDR))
295#define RTCOR (*((volatile unsigned short*)RTCOR_ADDR)) 295#define RTCOR (*((volatile unsigned short*)RTCOR_ADDR))
296 296
297#define TCSR (*((volatile unsigned char*)TCSR_ADDR)) 297#define TCSR_R (*((volatile unsigned char*)TCSR_ADDR))
298#define TCNT (*((volatile unsigned char*)TCNT_ADDR)) 298#define TCSR_W (*((volatile unsigned short*)(TCSR_ADDR & ~1)))
299#define RSTCSR (*((volatile unsigned char*)RSTCSR_ADDR)) 299#define TCNT_R (*((volatile unsigned char*)TCNT_ADDR))
300#define TCNT_W (*((volatile unsigned short*)(TCNT_ADDR & ~1)))
301#define RSTCSR_R (*((volatile unsigned char*)RSTCSR_ADDR))
302#define RSTCSR_W (*((volatile unsigned short*)(RSTCSR_ADDR & ~1)))
300 303
301#define SBYCR (*((volatile unsigned char*)SBYCR_ADDR)) 304#define SBYCR (*((volatile unsigned char*)SBYCR_ADDR))
302 305