Rev 1830 | Rev 1952 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1830 | Rev 1836 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | "pushl %3\n" |
68 | "pushl %3\n" |
69 | "pushl %4\n" |
69 | "pushl %4\n" |
70 | "movl %5, %%eax\n" |
70 | "movl %5, %%eax\n" |
71 | "iret\n" |
71 | "iret\n" |
72 | : |
72 | : |
- | 73 | : "i" (selector(UDATA_DES) | PL_USER), |
|
73 | : "i" (selector(UDATA_DES) | PL_USER), "r" (kernel_uarg->uspace_stack+THREAD_STACK_SIZE), |
74 | "r" (kernel_uarg->uspace_stack + THREAD_STACK_SIZE), |
- | 75 | "r" (ipl), |
|
74 | "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "r" (kernel_uarg->uspace_entry), |
76 | "i" (selector(UTEXT_DES) | PL_USER), |
- | 77 | "r" (kernel_uarg->uspace_entry), |
|
75 | "r" (kernel_uarg->uspace_uarg), |
78 | "r" (kernel_uarg->uspace_uarg), |
76 | "r" (selector(TLS_DES)) |
79 | "r" (selector(TLS_DES)) |
77 | : "eax"); |
80 | : "eax" |
- | 81 | ); |
|
78 | 82 | ||
79 | /* Unreachable */ |
83 | /* Unreachable */ |
80 | for(;;) |
84 | for(;;) |
81 | ; |
85 | ; |
82 | } |
86 | } |