Rev 1085 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1085 | Rev 1113 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | __thread_entry: |
36 | __thread_entry: |
37 | mov %ss, %dx |
37 | mov %ss, %dx |
38 | mov %dx, %ds |
38 | mov %dx, %ds |
39 | mov %dx, %es |
39 | mov %dx, %es |
40 | mov %dx, %fs |
40 | mov %dx, %fs |
41 | mov %dx, %gs |
41 | # Do not set %gs, it contains descriptor that can see TLS |
42 | 42 | ||
43 | # |
43 | # |
44 | # EAX contains address of uarg. |
44 | # EAX contains address of uarg. |
45 | # |
45 | # |
46 | pushl %eax |
46 | pushl %eax |
47 | call thread_main |
47 | call __thread_main |
48 | addl $4, %esp |
- | |
49 | 48 | ||
50 | # |
49 | # |
51 | # Not reached. |
50 | # Not reached. |
52 | # |
51 | # |
53 | 52 |