Move SH7034 timer code in the target tree

Add an argument int_prio to TIMER_START() macro because SH7034 needs it
Leaves a target specific code in timer_register (could be given to target code through timer_set and __timer_set() )

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21556 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-06-29 14:29:14 +00:00
parent c34ca87b64
commit b3ed33d04a
14 changed files with 147 additions and 67 deletions

View file

@ -31,7 +31,7 @@ void __timer_stop(void);
#define __TIMER_SET(cycles, set) \
__timer_set(cycles, set)
#define __TIMER_START() \
#define __TIMER_START(int_prio) \
__timer_start()
#define __TIMER_STOP(...) \