xnpod Struct Reference
[Real-time pod services.]

Collaboration diagram for xnpod:

Collaboration graph
[legend]

Detailed Description

Real-time pod descriptor.

The source of all Xenomai magic.


Data Fields

xnflags_t status
xnticks_t jiffies
xnticks_t wallclock_offset
xntimer_t htimer
xnsched_t sched [XNARCH_NR_CPUS]
xnqueue_t suspendq
xnqueue_t threadq
atomic_counter_t schedlck
xnqueue_t tstartq
xnqueue_t tswitchq
xnqueue_t tdeleteq
int minpri
int maxpri
int root_prio_base
u_long tickvalue
u_long ticks2sec
int refcnt
atomic_counter_t timerlck
struct {
   void(*   settime )(xnticks_t newtime)
   int(*   faulthandler )(xnarch_fltinfo_t *fltinfo)
   int(*   unload )(void)
svctable


Field Documentation

int(* xnpod::faulthandler)(xnarch_fltinfo_t *fltinfo)
 

Trap/exception handler.

xntimer_t xnpod::htimer
 

Host timer.

xnticks_t xnpod::jiffies
 

Periodic ticks elapsed since boot.

int xnpod::maxpri
 

Minimum priority value. Maximum priority value.

int xnpod::minpri
 

Minimum priority value.

int xnpod::refcnt
 

Reference count.

int xnpod::root_prio_base
 

Base priority of ROOT thread.

xnsched_t xnpod::sched[XNARCH_NR_CPUS]
 

Per-cpu scheduler slots.

atomic_counter_t xnpod::schedlck
 

Scheduler lock count.

void(* xnpod::settime)(xnticks_t newtime)
 

Clock setting hook.

xnflags_t xnpod::status
 

Status bitmask.

xnqueue_t xnpod::suspendq
 

Suspended (blocked) threads.

struct { ... } xnpod::svctable
 

Table of overridable service entry points.

xnqueue_t xnpod::tdeleteq
 

Thread start hook queue. Thread switch hook queue. Thread delete hook queue.

xnqueue_t xnpod::threadq
 

All existing threads.

u_long xnpod::ticks2sec
 

Number of ticks per second (1e9 if aperiodic).

u_long xnpod::tickvalue
 

Tick duration (ns, 1 if aperiodic).

atomic_counter_t xnpod::timerlck
 

Timer lock depth.

xnqueue_t xnpod::tstartq
 

Thread start hook queue.

xnqueue_t xnpod::tswitchq
 

Thread start hook queue. Thread switch hook queue.

int(* xnpod::unload)(void)
 

Unloading hook.

xnticks_t xnpod::wallclock_offset
 

Difference between wallclock time and epoch in ticks.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 3 12:32:49 2005 for RTAI Fusion API by  doxygen 1.4.2