summaryrefslogtreecommitdiff
path: root/firmware/target/arm/timer-pp.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:29:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:29:57 +0000
commitc5dedd7d762f48e940ecc0bd17dd2173d59a92e1 (patch)
treecd4d9dc085b4c40f281f17953a3e126dd1c0c02b /firmware/target/arm/timer-pp.c
parent89ccd5c145e45ad541a02f38e2ad07fb916f7135 (diff)
Remove the TIMER_* macros and declare target-specific functions in timer.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/timer-pp.c')
-rw-r--r--firmware/target/arm/timer-pp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/timer-pp.c b/firmware/target/arm/timer-pp.c
index 01c691f79e..a8879b1824 100644
--- a/firmware/target/arm/timer-pp.c
+++ b/firmware/target/arm/timer-pp.c
@@ -44,7 +44,7 @@ void TIMER2(void)
}
}
-bool __timer_set(long cycles, bool start)
+bool timer_set(long cycles, bool start)
{
if (cycles > 0x20000000 || cycles < 2)
return false;
@@ -67,7 +67,7 @@ bool __timer_set(long cycles, bool start)
return true;
}
-bool __timer_start(IF_COP_VOID(int core))
+bool timer_start(IF_COP_VOID(int core))
{
/* unmask interrupt source */
#if NUM_CORES > 1
@@ -79,7 +79,7 @@ bool __timer_start(IF_COP_VOID(int core))
return true;
}
-void __timer_stop(void)
+void timer_stop(void)
{
TIMER2_CFG = 0; /* stop timer 2 */
CPU_INT_DIS = TIMER2_MASK;