Rev 1121 | Rev 1223 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1121 | Rev 1168 | ||
---|---|---|---|
Line 92... | Line 92... | ||
92 | rsc.pl = PL_USER; |
92 | rsc.pl = PL_USER; |
93 | rsc.mode = 3; /* eager mode */ |
93 | rsc.mode = 3; /* eager mode */ |
94 | 94 | ||
95 | switch_to_userspace((__address) kernel_uarg->uspace_entry, |
95 | switch_to_userspace((__address) kernel_uarg->uspace_entry, |
96 | ((__address) kernel_uarg->uspace_stack)+PAGE_SIZE-ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT), |
96 | ((__address) kernel_uarg->uspace_stack)+PAGE_SIZE-ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT), |
97 | (__address) kernel_uarg->uspace_stack, |
97 | ((__address) kernel_uarg->uspace_stack)+PAGE_SIZE, |
98 | (__address) kernel_uarg->uspace_uarg, |
98 | (__address) kernel_uarg->uspace_uarg, |
99 | psr.value, rsc.value); |
99 | psr.value, rsc.value); |
100 | 100 | ||
101 | while (1) { |
101 | while (1) { |
102 | ; |
102 | ; |