base/include/asm/rtai_sched.h File Reference

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

Go to the source code of this file.

Defines

#define rt_exchange_tasks(oldtask, newtask)
#define init_arch_stack()
#define DEFINE_LINUX_CR0   static unsigned long linux_cr0;
#define DEFINE_LINUX_SMP_CR0   static unsigned long linux_smp_cr0[NR_RT_CPUS];
#define init_task_fpenv(task)   do { init_fpenv((task)->fpu_reg); } while(0)
#define RT_SET_RTAI_TRAP_HANDLER(x)   rt_set_rtai_trap_handler(x)
#define DO_TIMER_PROPER_OP()

Functions

static void * get_stack_pointer (void)


Define Documentation

#define DEFINE_LINUX_CR0   static unsigned long linux_cr0;

Definition at line 57 of file rtai_sched.h.

#define DEFINE_LINUX_SMP_CR0   static unsigned long linux_smp_cr0[NR_RT_CPUS];

Definition at line 59 of file rtai_sched.h.

 
#define DO_TIMER_PROPER_OP (  ) 

Definition at line 72 of file rtai_sched.h.

Referenced by rt_timer_handler().

 
#define init_arch_stack (  ) 

Value:

do { \
    *--(task->stack) = data;        \
    *--(task->stack) = (int) rt_thread; \
    *--(task->stack) = 0;           \
    *--(task->stack) = (int) rt_startup;    \
} while(0)

Definition at line 49 of file rtai_sched.h.

#define init_task_fpenv ( task   )     do { init_fpenv((task)->fpu_reg); } while(0)

Definition at line 61 of file rtai_sched.h.

#define rt_exchange_tasks ( oldtask,
newtask   ) 

Value:

__asm__ __volatile__( \
    "pushl %%eax\n\t" \
    "pushl %%ebp\n\t" \
    "pushl %%edi\n\t" \
    "pushl %%esi\n\t" \
    "pushl %%edx\n\t" \
    "pushl %%ecx\n\t" \
    "pushl %%ebx\n\t" \
    "pushl $1f\n\t" \
    "movl (%%ecx), %%ebx\n\t" \
    "movl %%esp, (%%ebx)\n\t" \
    "movl (%%edx), %%esp\n\t" \
    "movl %%edx, (%%ecx)\n\t" \
    "ret\n\t" \
"1: popl %%ebx\n\t \    popl %%ecx\n\t \    popl %%edx\n\t \    popl %%esi\n\t \    popl %%edi\n\t \    popl %%ebp\n\t \    popl %%eax\n\t" \
    : \
    : "c" (&oldtask), "d" (newtask) \
    );

Definition at line 23 of file rtai_sched.h.

Referenced by switch_rtai_tasks().

#define RT_SET_RTAI_TRAP_HANDLER (  )     rt_set_rtai_trap_handler(x)

Definition at line 70 of file rtai_sched.h.


Function Documentation

static void* get_stack_pointer ( void   )  [inline, static]

Definition at line 63 of file rtai_sched.h.

Referenced by rt_check_current_stack().


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