Subversion Repositories HelenOS

Rev

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

Rev 2099 Rev 2575
Line 70... Line 70...
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
        "iret\n"
73
        "iret\n"
74
        :
74
        :
-
 
75
        : "i" (selector(UDATA_DES) | PL_USER),
75
        : "i" (selector(UDATA_DES) | PL_USER), "r" ((uint8_t *) kernel_uarg->uspace_stack + THREAD_STACK_SIZE),
76
          "r" ((uint8_t *) kernel_uarg->uspace_stack +
-
 
77
              THREAD_STACK_SIZE),
-
 
78
          "r" (ipl),
76
          "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "r" (kernel_uarg->uspace_entry),
79
          "i" (selector(UTEXT_DES) | PL_USER),
-
 
80
          "r" (kernel_uarg->uspace_entry),
77
        "r" (kernel_uarg->uspace_uarg),
81
          "r" (kernel_uarg->uspace_uarg),
78
        "r" (selector(TLS_DES))
82
          "r" (selector(TLS_DES))
79
        : "eax");
83
        : "eax");
80
   
84
   
81
    /* Unreachable */
85
    /* Unreachable */
82
    for(;;)
86
    for(;;)
83
        ;
87
        ;