Subversion Repositories HelenOS-historic

Rev

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

Rev 1078 Rev 1104
Line 59... Line 59...
59
        "pushl %1\n"
59
        "pushl %1\n"
60
        "pushl %2\n"
60
        "pushl %2\n"
61
        "pushl %3\n"
61
        "pushl %3\n"
62
        "pushl %4\n"
62
        "pushl %4\n"
63
        "movl %5, %%eax\n"
63
        "movl %5, %%eax\n"
64
        "iret"
64
        "iret\n"
65
        :
65
        :
66
        : "i" (selector(UDATA_DES) | PL_USER), "r" (kernel_uarg->uspace_stack+THREAD_STACK_SIZE),
66
        : "i" (selector(UDATA_DES) | PL_USER), "r" (kernel_uarg->uspace_stack+THREAD_STACK_SIZE),
67
          "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "r" (kernel_uarg->uspace_entry),
67
          "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "r" (kernel_uarg->uspace_entry),
68
          "r" (kernel_uarg->uspace_uarg)
68
          "r" (kernel_uarg->uspace_uarg)
69
        : "eax");
69
        : "eax");