summaryrefslogtreecommitdiff
path: root/firmware/target/arm/timer-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/timer-target.h')
-rw-r--r--firmware/target/arm/timer-target.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/firmware/target/arm/timer-target.h b/firmware/target/arm/timer-target.h
index 7b7fdabdce..65867ab64b 100644
--- a/firmware/target/arm/timer-target.h
+++ b/firmware/target/arm/timer-target.h
@@ -28,25 +28,7 @@
28#error "PP specific header" 28#error "PP specific header"
29#endif 29#endif
30 30
31bool __timer_set(long cycles, bool start);
32bool __timer_start(IF_COP_VOID(int core));
33void __timer_stop(void);
34
35/* Portalplayer chips use a microsecond timer. */ 31/* Portalplayer chips use a microsecond timer. */
36#define TIMER_FREQ 1000000 32#define TIMER_FREQ 1000000
37 33
38#define __TIMER_SET(cycles, set) \
39 __timer_set(cycles, set)
40
41#if NUM_CORES > 1
42#define __TIMER_START(core) \
43 __timer_start(core)
44#else
45#define __TIMER_START() \
46 __timer_start()
47#endif
48
49#define __TIMER_STOP(...) \
50 __timer_stop()
51
52#endif /* TIMER_TARGET_H */ 34#endif /* TIMER_TARGET_H */