1
0
Fork 0
forked from len0rd/rockbox

Allow to select the core for running the user timer on portalplayer targets. * Incompatible plugin API change -> sorted API.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16965 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-04-04 19:38:46 +00:00
parent 3183b9e534
commit ac9b92716a
11 changed files with 36 additions and 22 deletions

View file

@ -39,7 +39,8 @@
#define TIMER_FREQ CPU_FREQ
#endif
bool timer_register(int reg_prio, void (*unregister_callback)(void),
long cycles, int int_prio, void (*timer_callback)(void));
long cycles, int int_prio, void (*timer_callback)(void)
IF_COP(,int core));
bool timer_set_period(long cycles);
#ifdef CPU_COLDFIRE
void timers_adjust_prescale(int multiplier, bool enable_irq);