- Status Closed
- Percent Complete
- Task Type Patches
- Category Drivers
-
Assigned To
Jens Arnold - Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Version 3.2
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Rockbox
Opened by Rafaël Carré - 2009-06-04
Last edited by Rafaël Carré - 2009-06-29
Opened by Rafaël Carré - 2009-06-04
Last edited by Rafaël Carré - 2009-06-29
FS#10274 - Move timer code in target tree
I have splitted the diff in small patches for easier review/syncing.
- Move target specific code from timer.c into target tree, creating new timer-X.c files ; copyrighted by whoever wrote the code in timer.c
- TIMER_REGISTER / TIMER_UNREGISTER / TIMER_SET macros are removed, and timer_s{top,tart,et} declared in timer.h. The functions themselves are target-specific (in target/*/timer-*.c)
- Remove int_prio argument from timer_register(), and move the only use for it into the SH7034 specific alpine_cdc plugin
- Put TIMER_FREQ definition in CPU-specific headers, and completely remove timer-target.h since it was its only content.
TODO : bump plugin API when it’s committed