summaryrefslogtreecommitdiff
path: root/cpu/i386/sc520/sc520_timer.c
AgeCommit message (Collapse)Author
2010-04-13i386: Move cpu/i386/* to arch/i386/cpu/*Peter Tyser
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-12-05Generic udelay() with watchdog supportIngo van Lil
According to the PPC reference implementation the udelay() function is responsible for resetting the watchdog timer as frequently as needed. Most other architectures do not meet that requirement, so long-running operations might result in a watchdog reset. This patch adds a generic udelay() function which takes care of resetting the watchdog before calling an architecture-specific __udelay(). Signed-off-by: Ingo van Lil <inguin@gmx.de>
2009-12-05i386: Fix race condition when using SC520 timersGraeme Russ
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
2009-09-04i386: Replace [read, write]_mmcr_[byte, word, long] with memory mapped structureGraeme Russ
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
2009-09-04Fix sc520 timer interrupt generationGraeme Russ
The current implementation has the timer being started before the interrupt handler is installed. It the interrupt occurs before the handler is installed, the timer interrupt is never reset and the timer stops Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
2009-03-20Implement SC520 timersGraeme Russ
Signed-off-by: Graeme Russ <graeme.russ at gmail.com>
2009-03-20Factor out SC520 sub-featuresGraeme Russ
Moved sub-features of the SC520 code which is currently selectively compiled using #ifdef out of sc520.c into individual files selectively compiled via the makefile Signed-off-by: Graeme Russ <graeme.russ at gmail.com>