Could you tell me where is the address for resuming the task in the
rtl_switch_to code for rtl v1.2 ?

#define rtl_switch_to(tsk) \ 
__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" \
 "movl "SYMBOL_NAME_STR(rtl_current)", %%edx\n\t" \
 "pushl $1f\n\t" \
 "movl %%esp, (%%edx)\n\t" \
 "movl (%%ecx), %%esp\n\t" \
 "movl %%ecx, "SYMBOL_NAME_STR(rtl_current)"\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" \
 : /* no output */ \
 : "c" (tsk) \
 :"cx");


Any advice that you can give me will be greatly appreciated.
Thank you.
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to