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 threadq
int threadq_rev
xnqueue_t tstartq
xnqueue_t tswitchq
xnqueue_t tdeleteq
int loprio
int hiprio
int root_prio_base
u_long tickvalue
u_long ticks2sec
int refcnt
struct {
   void(*   settime )(xnticks_t newtime)
   int(*   faulthandler )(xnarch_fltinfo_t *fltinfo)
   int(*   unload )(void)
svctable


Field Documentation

xnflags_t xnpod::status

Status bitmask.

xnticks_t xnpod::jiffies

Periodic ticks elapsed since boot.

xnticks_t xnpod::wallclock_offset

Difference between wallclock time and epoch in ticks.

xntimer_t xnpod::htimer

Host timer.

xnsched_t xnpod::sched[XNARCH_NR_CPUS]

Per-cpu scheduler slots.

xnqueue_t xnpod::threadq

All existing threads.

int xnpod::threadq_rev

Modification counter of threadq.

xnqueue_t xnpod::tstartq

Thread start hook queue.

xnqueue_t xnpod::tswitchq

Thread switch hook queue.

xnqueue_t xnpod::tdeleteq

Thread delete hook queue.

int xnpod::loprio

Minimum priority value.

int xnpod::hiprio

Maximum priority value.

int xnpod::root_prio_base

Base priority of ROOT thread.

u_long xnpod::tickvalue

Tick duration (ns, 1 if aperiodic).

u_long xnpod::ticks2sec

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

int xnpod::refcnt

Reference count.

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

Clock setting hook.

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

Trap/exception handler.

int(* xnpod::unload)(void)

Unloading hook.

struct { ... } xnpod::svctable

Table of overridable service entry points.


The documentation for this struct was generated from the following file:
Generated on Sun Dec 9 10:37:38 2007 for Xenomai API by  doxygen 1.5.3