base/include/asm-ppc/rtai_legacy.h File Reference

Include dependency graph for rtai_legacy.h:

Go to the source code of this file.

Defines

#define LATENCY_DECR   2500
#define SETUP_TIME_DECR   500
#define CPU_FREQ   (tuned.cpu_freq)
#define FREQ_DECR   CPU_FREQ
#define CALIBRATED_CPU_FREQ   0
#define FREQ_8254   FREQ_DECR
#define FREQ_APIC   FREQ_DECR
#define LATENCY_8254   3000
#define SETUP_TIME_8254   500
#define TIMER_8254_IRQ   0xFFFFFFFF
#define IFLAG   15
#define RTAI_NR_TRAPS   32
#define RTAI_1_IPI   6
#define RTAI_2_IPI   7
#define RTAI_3_IPI   8
#define RTAI_4_IPI   9
#define RTAI_1_VECTOR   0xD9
#define RTAI_2_VECTOR   0xE1
#define RTAI_3_VECTOR   0xE9
#define RTAI_4_VECTOR   0xF1
#define RT_TIME_END   0x7FFFFFFFFFFFFFFFLL
#define RTAI_DEFAULT_TICK   200000
#define RTAI_DEFAULT_STACKSZ   2000

Functions

static unsigned long long ullmul (unsigned long m0, unsigned long m1)
static unsigned long long ulldiv (unsigned long long ull, unsigned long uld, unsigned long *r)
static int imuldiv (int i, int mult, int div)
static unsigned long long llimd (unsigned long long ull, unsigned long mult, unsigned long div)


Define Documentation

#define CALIBRATED_CPU_FREQ   0

Definition at line 32 of file rtai_legacy.h.

#define CPU_FREQ   (tuned.cpu_freq)

Definition at line 30 of file rtai_legacy.h.

#define FREQ_8254   FREQ_DECR

Definition at line 35 of file rtai_legacy.h.

#define FREQ_APIC   FREQ_DECR

Definition at line 36 of file rtai_legacy.h.

#define FREQ_DECR   CPU_FREQ

Definition at line 31 of file rtai_legacy.h.

#define IFLAG   15

Definition at line 41 of file rtai_legacy.h.

#define LATENCY_8254   3000

Definition at line 37 of file rtai_legacy.h.

#define LATENCY_DECR   2500

Definition at line 26 of file rtai_legacy.h.

#define RT_TIME_END   0x7FFFFFFFFFFFFFFFLL

Definition at line 56 of file rtai_legacy.h.

#define RTAI_1_IPI   6

Definition at line 46 of file rtai_legacy.h.

#define RTAI_1_VECTOR   0xD9

Definition at line 51 of file rtai_legacy.h.

#define RTAI_2_IPI   7

Definition at line 47 of file rtai_legacy.h.

#define RTAI_2_VECTOR   0xE1

Definition at line 52 of file rtai_legacy.h.

#define RTAI_3_IPI   8

Definition at line 48 of file rtai_legacy.h.

#define RTAI_3_VECTOR   0xE9

Definition at line 53 of file rtai_legacy.h.

#define RTAI_4_IPI   9

Definition at line 49 of file rtai_legacy.h.

#define RTAI_4_VECTOR   0xF1

Definition at line 54 of file rtai_legacy.h.

#define RTAI_DEFAULT_STACKSZ   2000

Definition at line 474 of file rtai_legacy.h.

#define RTAI_DEFAULT_TICK   200000

Definition at line 473 of file rtai_legacy.h.

#define RTAI_NR_TRAPS   32

Definition at line 43 of file rtai_legacy.h.

Referenced by rt_set_task_trap_handler(), and set_rtext().

#define SETUP_TIME_8254   500

Definition at line 38 of file rtai_legacy.h.

#define SETUP_TIME_DECR   500

Definition at line 27 of file rtai_legacy.h.

#define TIMER_8254_IRQ   0xFFFFFFFF

Definition at line 39 of file rtai_legacy.h.


Function Documentation

static int imuldiv ( int  i,
int  mult,
int  div 
) [inline, static]

Definition at line 97 of file rtai_legacy.h.

References ulldiv(), and ullmul().

Referenced by __rtai_lxrt_init(), __rtai_wd_init(), _rt_get_boot_epoch(), rt_request_timer(), rt_spl_lock_timed(), rt_timer_tick_ext(), and user_srq().

Here is the call graph for this function:

static unsigned long long llimd ( unsigned long long  ull,
unsigned long  mult,
unsigned long  div 
) [inline, static]

Definition at line 106 of file rtai_legacy.h.

References ulldiv(), and ullmul().

Referenced by __rtai_wd_init(), _rt_get_boot_epoch(), count2nano(), count2nano_cpuid(), nano2count(), nano2count_cpuid(), rt_busy_sleep(), rt_get_cpu_time_ns(), rt_get_real_time_ns(), rt_get_time_ns(), rt_get_time_ns_cpuid(), rt_set_runnable_on_cpuid(), start_slipping_badtask(), and stretch_badtask().

Here is the call graph for this function:

static unsigned long long ulldiv ( unsigned long long  ull,
unsigned long  uld,
unsigned long *  r 
) [inline, static]

Definition at line 78 of file rtai_legacy.h.

Referenced by imuldiv(), and llimd().

static unsigned long long ullmul ( unsigned long  m0,
unsigned long  m1 
) [inline, static]

Definition at line 65 of file rtai_legacy.h.

References __asm__().

Referenced by imuldiv(), and llimd().

Here is the call graph for this function:


Generated on Tue Feb 2 17:46:38 2010 for RTAI API by  doxygen 1.4.7