Subversion Repositories HelenOS

Rev

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

Rev 2787 Rev 3425
Line 68... Line 68...
68
        "pushl %1\n"
68
        "pushl %1\n"
69
        "pushl %2\n"
69
        "pushl %2\n"
70
        "pushl %3\n"
70
        "pushl %3\n"
71
        "pushl %4\n"
71
        "pushl %4\n"
72
        "movl %5, %%eax\n"
72
        "movl %5, %%eax\n"
-
 
73
 
-
 
74
        /* %ebx is defined to hold pcb_ptr - set it to 0 */
-
 
75
        "xorl %%ebx, %%ebx\n"  
-
 
76
 
73
        "iret\n"
77
        "iret\n"
74
        :
78
        :
75
        : "i" (selector(UDATA_DES) | PL_USER),
79
        : "i" (selector(UDATA_DES) | PL_USER),
76
          "r" ((uint8_t *) kernel_uarg->uspace_stack +
80
          "r" ((uint8_t *) kernel_uarg->uspace_stack +
77
              THREAD_STACK_SIZE),
81
              THREAD_STACK_SIZE),