Subversion Repositories HelenOS

Rev

Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 3222
Line 66... Line 66...
66
        "pushl %1\n"
66
        "pushl %1\n"
67
        "pushl %2\n"
67
        "pushl %2\n"
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
 
-
 
72
        /* %ebx is defined to hold pcb_ptr - set it to 0 */
-
 
73
        "xorl %%ebx, %%ebx\n"
-
 
74
 
71
        "iret\n"
75
        "iret\n"
72
        :
76
        :
73
        : "i" (selector(UDATA_DES) | PL_USER),
77
        : "i" (selector(UDATA_DES) | PL_USER),
74
          "r" (kernel_uarg->uspace_stack + THREAD_STACK_SIZE),
78
          "r" (kernel_uarg->uspace_stack + THREAD_STACK_SIZE),
75
          "r" (ipl),
79
          "r" (ipl),