Go to the source code of this file.
Value:, "rcx", "rbx", "rdx", "r8", "r9", "r10", "r11", \
"r12", "r13", "r14", "r15"
Definition at line 85 of file switch_to.h.
#define __switch_canary_iparam |
#define __switch_canary_oparam |
#define SAVE_CONTEXT "pushf ; pushq %%rbp ; movq %%rsi,%%rbp\n\t" |
Value:
"movq %%rsp,%P[threadrsp](%[prev])\n\t" \
"movq %P[threadrsp](%[next]),%%rsp\n\t" \
"call __switch_to\n\t" \
__switch_canary \
"movq %P[thread_info](%%rsi),%%r8\n\t" \
"movq %%rax,%%rdi\n\t" \
"testl %[_tif_fork],%P[ti_flags](%%r8)\n\t" \
"jnz ret_from_fork\n\t" \
RESTORE_CONTEXT \
[current_task] "m" (current_task) \
__switch_canary_iparam \
Definition at line 104 of file switch_to.h.