base/include/asm-arm/rtai_hal.h File Reference

Include dependency graph for rtai_hal.h:

Go to the source code of this file.

Defines

#define RTAI_SYSCALL_MODE
#define LOCKED_LINUX_IN_IRQ_HANDLER
#define DOMAIN_TO_STALL   (fusion_domain)
#define RTAI_NR_CPUS   1
#define RTAI_NR_IRQS   IPIPE_NR_XIRQS
#define __LINUX_ARM_ARCH__   4
#define __asmeq(x, y)   ".ifnc " x "," y " ; .err ; .endif\n\t"
#define endianstruct   struct { unsigned _l; unsigned _h; } _s
#define __rtai_u64tou32(ull, h, l)
#define __rtai_u64fromu32(h, l)
#define rtai_ullmul(m0, m1)   __rtai_generic_ullmul((m0),(m1))
#define rtai_ulldiv(ull, uld, rp)   __rtai_generic_ulldiv((ull),(uld),(rp))
#define rtai_uldivrem(ull, ul, rp)   ((unsigned) rtai_ulldiv((ull),(ul),(rp)))
#define rtai_imuldiv(i, m, d)   __rtai_generic_imuldiv((i),(m),(d))
#define rtai_llimd(ll, m, d)   __rtai_generic_llimd((ll),(m),(d))
#define RTAI_DEFAULT_TICK   100000
#define RTAI_DEFAULT_STACKSZ   1024
#define SET_FUSION_TIMER_RUNNING()
#define CLEAR_FUSION_TIMER_RUNNING()
#define IS_FUSION_TIMER_RUNNING()   (0)
#define NON_RTAI_SCHEDULE(cpuid)   do { schedule(); } while (0)

Functions

unsigned long ffnz (unsigned long word)
unsigned long long __rtai_generic_ullmul (const unsigned m0, const unsigned m1)
static unsigned long long __rtai_generic_ulldiv (unsigned long long ull, const unsigned uld, unsigned long *const rp)
int __rtai_generic_imuldiv (int i, int mult, int div)
static unsigned long long __rtai_generic_div96by32 (const unsigned long long h, const unsigned l, const unsigned d, unsigned long *const rp)
unsigned long long __rtai_generic_ullimd (const unsigned long long op, const unsigned m, const unsigned d)
long long __rtai_generic_llimd (long long op, unsigned m, unsigned d)


Define Documentation

#define __asmeq ( x,
 )     ".ifnc " x "," y " ; .err ; .endif\n\t"

Definition at line 109 of file rtai_hal.h.

#define __LINUX_ARM_ARCH__   4

Definition at line 74 of file rtai_hal.h.

#define __rtai_u64fromu32 ( h,
 ) 

Value:

({             \
    union { unsigned long long _ull;            \
    endianstruct;                               \
    } _u;                                       \
    _u._s._h = (h);                             \
    _u._s._l = (l);                             \
    _u._ull;                                    \
})

Definition at line 130 of file rtai_hal.h.

Referenced by __rtai_generic_div96by32().

#define __rtai_u64tou32 ( ull,
h,
 ) 

Value:

({          \
    union { unsigned long long _ull;            \
    endianstruct;                               \
    } _u;                                       \
    _u._ull = (ull);                            \
    (h) = _u._s._h;                             \
    (l) = _u._s._l;                             \
})

Definition at line 119 of file rtai_hal.h.

Referenced by __rtai_generic_ullimd().

 
#define CLEAR_FUSION_TIMER_RUNNING (  ) 

Definition at line 647 of file rtai_hal.h.

#define DOMAIN_TO_STALL   (fusion_domain)

Definition at line 57 of file rtai_hal.h.

#define endianstruct   struct { unsigned _l; unsigned _h; } _s

Definition at line 115 of file rtai_hal.h.

 
#define IS_FUSION_TIMER_RUNNING (  )     (0)

Definition at line 649 of file rtai_hal.h.

#define LOCKED_LINUX_IN_IRQ_HANDLER

Definition at line 56 of file rtai_hal.h.

#define NON_RTAI_SCHEDULE ( cpuid   )     do { schedule(); } while (0)

Definition at line 651 of file rtai_hal.h.

#define RTAI_DEFAULT_STACKSZ   1024

Definition at line 637 of file rtai_hal.h.

#define RTAI_DEFAULT_TICK   100000

Definition at line 633 of file rtai_hal.h.

#define rtai_imuldiv ( i,
m,
 )     __rtai_generic_imuldiv((i),(m),(d))

Definition at line 180 of file rtai_hal.h.

Referenced by rt_request_timer(), rtai_calibrate_TC(), and rtai_llimd().

#define rtai_llimd ( ll,
m,
 )     __rtai_generic_llimd((ll),(m),(d))

Definition at line 228 of file rtai_hal.h.

Referenced by rt_request_timer().

#define RTAI_NR_CPUS   1

Definition at line 64 of file rtai_hal.h.

#define RTAI_NR_IRQS   IPIPE_NR_XIRQS

Definition at line 65 of file rtai_hal.h.

#define RTAI_SYSCALL_MODE

Definition at line 54 of file rtai_hal.h.

#define rtai_uldivrem ( ull,
ul,
rp   )     ((unsigned) rtai_ulldiv((ull),(ul),(rp)))

Definition at line 167 of file rtai_hal.h.

Referenced by __rtai_generic_div96by32(), and __rtai_generic_imuldiv().

#define rtai_ulldiv ( ull,
uld,
rp   )     __rtai_generic_ulldiv((ull),(uld),(rp))

Definition at line 163 of file rtai_hal.h.

Referenced by ll2a(), rtai_imuldiv(), and rtai_llimd().

#define rtai_ullmul ( m0,
m1   )     __rtai_generic_ullmul((m0),(m1))

Definition at line 147 of file rtai_hal.h.

Referenced by __rtai_generic_imuldiv(), __rtai_generic_ullimd(), rtai_imuldiv(), and rtai_llimd().

 
#define SET_FUSION_TIMER_RUNNING (  ) 

Definition at line 645 of file rtai_hal.h.


Function Documentation

static unsigned long long __rtai_generic_div96by32 ( const unsigned long long  h,
const unsigned  l,
const unsigned  d,
unsigned long *const   rp 
) [inline, static]

Definition at line 188 of file rtai_hal.h.

References __rtai_u64fromu32, and rtai_uldivrem.

Referenced by __rtai_generic_ullimd().

int __rtai_generic_imuldiv ( int  i,
int  mult,
int  div 
) [inline]

Definition at line 172 of file rtai_hal.h.

References rtai_uldivrem, and rtai_ullmul.

long long __rtai_generic_llimd ( long long  op,
unsigned  m,
unsigned  d 
) [inline]

Definition at line 219 of file rtai_hal.h.

References __rtai_generic_ullimd().

Here is the call graph for this function:

static unsigned long long __rtai_generic_ulldiv ( unsigned long long  ull,
const unsigned  uld,
unsigned long *const   rp 
) [inline, static]

Definition at line 152 of file rtai_hal.h.

References do_div.

unsigned long long __rtai_generic_ullimd ( const unsigned long long  op,
const unsigned  m,
const unsigned  d 
) [inline]

Definition at line 202 of file rtai_hal.h.

References __rtai_generic_div96by32(), __rtai_u64tou32, and rtai_ullmul.

Referenced by __rtai_generic_llimd().

Here is the call graph for this function:

unsigned long long __rtai_generic_ullmul ( const unsigned  m0,
const unsigned  m1 
) [inline]

Definition at line 142 of file rtai_hal.h.

static __inline__ unsigned long ffnz ( unsigned long  word  )  [inline]

Definition at line 86 of file rtai_hal.h.

References count.


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