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

xnsched_t sched
xnflags_t status
xnqueue_t threadq
xnqueue_t timerwheel [XNTIMER_WHEELSIZE]
xnticks_t jiffies
xnticks_t wallclock
atomic_counter_t schedlck
xnqueue_t tstartq
xnqueue_t tswitchq
xnqueue_t tdeleteq
int minpri
int maxpri
int root_prio_base
int isvc_prio_idle
u_long tickvalue
xnticks_t ticks2sec
xntimer_t htimer
struct {
   void(*   tickhandler )(struct xnintr *, int hits)
   void(*   shutdown )(int xtype)
   void(*   settime )(xnticks_t newtime)
   int(*   faulthandler )(xnarch_fltinfo_t *fltinfo)
svctable
void(* schedhook )(xnthread_t *thread, xnflags_t mask)


Field Documentation

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

Trap/exception handler.

xntimer_t xnpod::htimer
 

Host timer.

int xnpod::isvc_prio_idle
 

ISVC thread idle priority.

xnticks_t xnpod::jiffies
 

Periodic ticks elapsed since boot.

int xnpod::maxpri
 

Maximum priority value.

int xnpod::minpri
 

Minimum priority value.

int xnpod::root_prio_base
 

ROOT thread standard base priority.

xnsched_t xnpod::sched
 

The UP scheduler.

void(* xnpod::schedhook)(xnthread_t *thread, xnflags_t mask)
 

Internal scheduling hook.

atomic_counter_t xnpod::schedlck
 

Scheduler lock count.

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

Clock setting hook.

void(* xnpod::shutdown)(int xtype)
 

Shutdown 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.

void(* xnpod::tickhandler)(struct xnintr *, int hits)
 

Periodic tick handler.

xnticks_t xnpod::ticks2sec
 

Number of ticks per second (0 if aperiodic).

u_long xnpod::tickvalue
 

Tick duration (ns, 1 if aperiodic).

xnqueue_t xnpod::timerwheel[XNTIMER_WHEELSIZE]
 

BSDish timer wheel.

xnqueue_t xnpod::tstartq
 

Thread start hook queue.

xnqueue_t xnpod::tswitchq
 

Thread switch hook queue.

xnticks_t xnpod::wallclock
 

Wallclock time in ticks.


The documentation for this struct was generated from the following file:
Generated on Sat Jul 24 19:36:20 2004 for RTAI API by doxygen 1.3.4