Rev 1222 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1222 | Rev 1274 | ||
---|---|---|---|
Line 74... | Line 74... | ||
74 | { |
74 | { |
75 | } |
75 | } |
76 | 76 | ||
77 | void userspace(uspace_arg_t *kernel_uarg) |
77 | void userspace(uspace_arg_t *kernel_uarg) |
78 | { |
78 | { |
79 | userspace_asm((__address) kernel_uarg->uspace_uarg, (__address) kernel_uarg->uspace_stack, (__address) kernel_uarg->uspace_entry); |
79 | userspace_asm((__address) kernel_uarg->uspace_uarg, (__address) kernel_uarg->uspace_stack + THREAD_STACK_SIZE - SP_DELTA, (__address) kernel_uarg->uspace_entry); |
80 | 80 | ||
81 | /* Unreachable */ |
81 | /* Unreachable */ |
82 | for (;;) |
82 | for (;;) |
83 | ; |
83 | ; |
84 | } |
84 | } |