Xenomai API  2.6.5
hostrt.h
Go to the documentation of this file.
1 #ifndef _XENO_NUCLEUS_HOSTRT_H
2 #define _XENO_NUCLEUS_HOSTRT_H
3 
26 #ifndef __KERNEL__
27 #include <time.h>
28 #include <sys/types.h>
29 #else /* __KERNEL__ */
30 #include <asm-generic/xenomai/system.h>
31 #endif /* __KERNEL__ */
32 #include <nucleus/seqlock.h>
33 
34 struct xnvdso_hostrt_data {
35  short live;
36  xnseqcount_t seqcount;
37  time_t wall_time_sec;
38  unsigned wall_time_nsec;
39  struct timespec wall_to_monotonic;
40  unsigned long long cycle_last;
41  unsigned long long mask;
42  unsigned mult;
43  unsigned shift;
44 };
45 
46 #endif