xnpod Struct Reference
[Real-time pod services.]

#include <pod.h>


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
volatile u_long 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
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
 

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.

volatile u_long xnpod::schedlck
 

Scheduler lock count.

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

Clock setting hook.

xnflags_t xnpod::status
 

Status bitmask.

struct { ... } xnpod::svctable
 

Table of overridable service entry points.

xnqueue_t xnpod::tdeleteq
 

Thread delete hook queue.

xnqueue_t xnpod::threadq
 

All existing threads.

int xnpod::threadq_rev
 

Modification counter of threadq.

u_long xnpod::ticks2sec
 

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

u_long xnpod::tickvalue
 

Tick duration (ns, 1 if aperiodic).

xnqueue_t xnpod::tstartq
 

Thread start hook queue.

xnqueue_t xnpod::tswitchq
 

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 Mon Dec 25 13:57:10 2006 for Xenomai API by  doxygen 1.4.6