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 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.
#define init_arch_stack | ( | ) |
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.
#define RT_SET_RTAI_TRAP_HANDLER | ( | x | ) | rt_set_rtai_trap_handler(x) |
Definition at line 70 of file rtai_sched.h.
static void* get_stack_pointer | ( | void | ) | [inline, static] |
Definition at line 63 of file rtai_sched.h.