base/include/asm/rtai_emulate_tsc.h File Reference

Include dependency graph for rtai_emulate_tsc.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define RTAI_CPU_FREQ   RTAI_FREQ_8254
#define RTAI_CALIBRATED_CPU_FREQ   RTAI_FREQ_8254
#define rtai_rdtsc()   rd_8254_ts()
#define rdtsc()   rd_8254_ts()
#define TICK_8254_TSC_EMULATION()   rd_8254_ts()
#define DECLR_8254_TSC_EMULATION
#define SETUP_8254_TSC_EMULATION
#define CLEAR_8254_TSC_EMULATION   del_timer(&timer)


Define Documentation

#define CLEAR_8254_TSC_EMULATION   del_timer(&timer)

Definition at line 86 of file rtai_emulate_tsc.h.

Referenced by __rtai_lxrt_exit().

#define DECLR_8254_TSC_EMULATION

Value:

const int TSC_EMULATION_GUARD_FREQ = 20; \
static struct timer_list timer;

Definition at line 74 of file rtai_emulate_tsc.h.

 
#define rdtsc (  )     rd_8254_ts()

Definition at line 40 of file rtai_emulate_tsc.h.

Referenced by handle_lxrt_request(), kthread_fun(), rt_get_cpu_time_ns(), rt_get_time(), rt_get_time_cpuid(), rt_get_time_ns(), rt_get_time_ns_cpuid(), rt_request_timer(), rt_schedule(), rt_spl_lock_timed(), rt_timer_handler(), rt_timer_tick_ext(), soft_timer_interrupt(), and steal_from_linux().

#define RTAI_CALIBRATED_CPU_FREQ   RTAI_FREQ_8254

Definition at line 38 of file rtai_emulate_tsc.h.

#define RTAI_CPU_FREQ   RTAI_FREQ_8254

Definition at line 37 of file rtai_emulate_tsc.h.

Referenced by init_module(), and rtai_calibrate_TC().

#define rtai_rdtsc ( void   )     rd_8254_ts()

Definition at line 39 of file rtai_emulate_tsc.h.

Referenced by _rt_get_boot_epoch(), rt_busy_sleep(), rt_get_real_time(), rt_get_real_time_ns(), rt_request_timer(), rt_task_wait_period(), and rtai_calibrate_TC().

#define SETUP_8254_TSC_EMULATION

Value:

do { \
        rt_setup_8254_tsc(); \
        init_timer(&timer); \
        timer.function = timer_fun; \
        timer_fun(0); \
    } while (0)

Definition at line 78 of file rtai_emulate_tsc.h.

Referenced by __rtai_lxrt_init().

 
#define TICK_8254_TSC_EMULATION (  )     rd_8254_ts()

Definition at line 42 of file rtai_emulate_tsc.h.

Referenced by timer_fun().


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