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. |