Do not install wrong cache routine if called before SysBase is complete.
[AROS.git] / workbench / libs / realtime / realtime_intern.h
blobc61188f791d33b3d268c5e577b07839d33805dfc
1 /*
2 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef REALTIME_INTERN_H
7 #define REALTIME_INTERN_H
9 #ifndef LIBRARIES_REALTIME_H
10 #include <libraries/realtime.h>
11 #endif
13 #ifndef EXEC_TYPES_H
14 #include <exec/types.h>
15 #endif
17 #ifndef EXEC_LISTS_H
18 #include <exec/lists.h>
19 #endif
21 #ifndef EXEC_LIBRARIES_H
22 #include <exec/libraries.h>
23 #endif
25 #ifndef EXEC_SEMAPHORES_H
26 #include <exec/semaphores.h>
27 #endif
29 #ifndef EXEC_TASKS
30 #include <exec/tasks.h>
31 #endif
33 #ifndef EXEC_INTERRUPTS
34 #include <exec/interrupts.h>
35 #endif
37 #include <dos/dos.h>
39 #define GPB(x) ((struct internal_RealTimeBase *)x)
41 /* Note that all fields are READ ONLY! */
43 struct internal_RealTimeBase
45 struct Library rtb_LibNode;
46 UBYTE rtb_Reserved0[2];
48 ULONG rtb_Time;
49 ULONG rtb_TimeFrac;
50 UWORD rtb_Reserved1;
51 WORD rtb_TickErr;
53 struct SignalSemaphore rtb_Locks[RT_MAXLOCK];
55 struct MinList rtb_ConductorList;
57 struct Interrupt rtb_VBlank;
58 struct Task *rtb_PulseTask;
61 #endif /* REALTIME_INTERN_H */