Subversion Repositories HelenOS

Rev

Rev 3431 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3431 Rev 4692
Line 77... Line 77...
77
    uarg.uspace_uarg = ((uspace_arg_t *) arg)->uspace_uarg;
77
    uarg.uspace_uarg = ((uspace_arg_t *) arg)->uspace_uarg;
78
    uarg.uspace_thread_function = NULL;
78
    uarg.uspace_thread_function = NULL;
79
    uarg.uspace_thread_arg = NULL;
79
    uarg.uspace_thread_arg = NULL;
80
 
80
 
81
    free((uspace_arg_t *) arg);
81
    free((uspace_arg_t *) arg);
-
 
82
   
-
 
83
    /*
-
 
84
     * Disable interrupts so that the execution of userspace() is not
-
 
85
     * disturbed by any interrupts as some of the userspace()
-
 
86
     * implementations will switch to the userspace stack before switching
-
 
87
     * the mode.
-
 
88
     */
-
 
89
    (void) interrupts_disable();
82
    userspace(&uarg);
90
    userspace(&uarg);
83
}
91
}
84
 
92
 
85
/** @}
93
/** @}
86
 */
94
 */