revert between 56095 -> 55830 in arch
[AROS.git] / arch / arm-raspi / timer / timer_platform.h
blob1369dc47b745fb1817dd21d9e238561210f5aeb0
1 /*
2 Copyright © 2013-2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define USE_VBLANK_INT
7 #define TICK_TIMER 1
9 struct PlatformTimer
11 APTR tbp_BootLoaderBase;
12 IPTR tbp_periiobase;
13 struct timeval tbp_TickRate; /* Our periodic timer interval */
14 unsigned int tbp_CLO;
15 unsigned int tbp_CHI;
18 #undef KernelBase
19 #define KernelBase TimerBase->tb_KernelBase
21 #undef BootLoaderBase
22 #define BootLoaderBase TimerBase->tb_Platform.tbp_BootLoaderBase
24 #define ARM_PERIIOBASE TimerBase->tb_Platform.tbp_periiobase
25 #include <hardware/bcm2708.h>