Rev 2082 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2082 | Rev 3222 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | "pushq %1\n" |
59 | "pushq %1\n" |
60 | "pushq %2\n" |
60 | "pushq %2\n" |
61 | "pushq %3\n" |
61 | "pushq %3\n" |
62 | "pushq %4\n" |
62 | "pushq %4\n" |
63 | "movq %5, %%rax\n" |
63 | "movq %5, %%rax\n" |
- | 64 | /* %rdi is defined to hold pcb_ptr - set it to 0 */ |
|
- | 65 | "xorq %%rdi, %%rdi\n" |
|
64 | "iretq\n" |
66 | "iretq\n" |
65 | : : |
67 | : : |
66 | "i" (gdtselector(UDATA_DES) | PL_USER), |
68 | "i" (gdtselector(UDATA_DES) | PL_USER), |
67 | "r" (kernel_uarg->uspace_stack+THREAD_STACK_SIZE), |
69 | "r" (kernel_uarg->uspace_stack+THREAD_STACK_SIZE), |
68 | "r" (ipl), |
70 | "r" (ipl), |