Move PP (last target) timer code in target tree
commit0947807283976c141b54766a426e1ae320d28188
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Mon, 29 Jun 2009 14:29:35 +0000 (29 14:29 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Mon, 29 Jun 2009 14:29:35 +0000 (29 14:29 +0000)
tree7c8c1eb5ec2ab0d0a7d874e10092cab8ba1d5985
parent2edd0f5939a07d3ef126c0f484affc053e63d630
Move PP (last target) timer code in target tree

Put warnings in timer.h for incomplete targets (TIMER_FREQ not defined and/or timer-target.h inexistant)

Correct TIMER_STOP & TIMER_START macros arguments for target without timers
TIMER_START takes an extra argument in multicore builds (macro in macro doesn't work fine..)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21557 a1c6a512-1295-4272-9138-f99709370657
firmware/SOURCES
firmware/export/timer.h
firmware/target/arm/timer-pp.c [copied from firmware/timer.c with 53% similarity]
firmware/target/arm/timer-target.h [new file with mode: 0644]
firmware/timer.c