2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
6 #ifndef REALTIME_INTERN_H
7 #define REALTIME_INTERN_H
9 #ifndef LIBRARIES_REALTIME_H
10 #include <libraries/realtime.h>
14 #include <exec/types.h>
18 #include <exec/lists.h>
21 #ifndef EXEC_LIBRARIES_H
22 #include <exec/libraries.h>
25 #ifndef EXEC_SEMAPHORES_H
26 #include <exec/semaphores.h>
30 #include <exec/tasks.h>
33 #ifndef EXEC_INTERRUPTS
34 #include <exec/interrupts.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];
50 UWORD rtb_Reserved1
; // = Tick frequency.
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 */