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
xntimer_t htimer
xnsched_t sched [XNARCH_NR_CPUS]
xnqueue_t suspendq
xnqueue_t threadq
xnqueue_t timerwheel [XNTIMER_WHEELSIZE]
atomic_counter_t schedlck
xnqueue_t tstartq
xnqueue_t tswitchq
xnqueue_t tdeleteq
int minpri
int maxpri
int root_prio_base
u_long tickvalue
xnticks_t ticks2sec
struct {
   xnisr_t   tickhandler
   void(*   shutdown )(int xtype)
   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::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.

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

Shutdown 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 delete hook queue.

xnqueue_t xnpod::threadq
 

All existing threads.

xnisr_t xnpod::tickhandler
 

Clock tick handler.

xnticks_t xnpod::ticks2sec
 

Number of ticks per second (1e9 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.

int(* xnpod::unload)(void)
 

Unloading hook.

xnticks_t xnpod::wallclock
 

Wallclock time in ticks.


The documentation for this struct was generated from the following file:
Generated on Mon Dec 13 09:49:49 2004 for RTAI API by  doxygen 1.3.9.1