26 |
/* |
/* |
27 |
* HISTORY |
* HISTORY |
28 |
* $Log$ |
* $Log$ |
29 |
|
* Revision 1.6 2001/12/22 21:02:31 roland |
30 |
|
* 2001-12-22 Roland McGrath <roland@frob.com> |
31 |
|
* |
32 |
|
* * i386/thread.c (cthread_sp): Use __thread_stack_pointer. |
33 |
|
* |
34 |
* Revision 1.5 2001/03/31 23:03:03 roland |
* Revision 1.5 2001/03/31 23:03:03 roland |
35 |
* 2001-03-31 Roland McGrath <roland@frob.com> |
* 2001-03-31 Roland McGrath <roland@frob.com> |
36 |
* |
* |
139 |
int |
int |
140 |
cthread_sp() |
cthread_sp() |
141 |
{ |
{ |
142 |
int x; |
return (int) __thread_stack_pointer (); |
|
|
|
|
return (int) &x; |
|
143 |
} |
} |