Rev 2082 | Rev 3222 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2082 | Rev 2099 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | "pushl %3\n" |
70 | "pushl %3\n" |
71 | "pushl %4\n" |
71 | "pushl %4\n" |
72 | "movl %5, %%eax\n" |
72 | "movl %5, %%eax\n" |
73 | "iret\n" |
73 | "iret\n" |
74 | : |
74 | : |
75 | : "i" (selector(UDATA_DES) | PL_USER), "r" (kernel_uarg->uspace_stack+THREAD_STACK_SIZE), |
75 | : "i" (selector(UDATA_DES) | PL_USER), "r" ((uint8_t *) kernel_uarg->uspace_stack + THREAD_STACK_SIZE), |
76 | "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "r" (kernel_uarg->uspace_entry), |
76 | "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "r" (kernel_uarg->uspace_entry), |
77 | "r" (kernel_uarg->uspace_uarg), |
77 | "r" (kernel_uarg->uspace_uarg), |
78 | "r" (selector(TLS_DES)) |
78 | "r" (selector(TLS_DES)) |
79 | : "eax"); |
79 | : "eax"); |
80 | 80 |