1 |
/* Setup thread stack. Hurd/i386 version. |
/* Setup thread stack. Hurd/i386 version. |
2 |
Copyright (C) 2000, 2002 Free Software Foundation, Inc. |
Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc. |
3 |
This file is part of the GNU C Library. |
This file is part of the GNU C Library. |
4 |
|
|
5 |
The GNU C Library is free software; you can redistribute it and/or |
The GNU C Library is free software; you can redistribute it and/or |
58 |
top -= __hurd_threadvar_max; |
top -= __hurd_threadvar_max; |
59 |
|
|
60 |
/* Save the self pointer. */ |
/* Save the self pointer. */ |
61 |
top[_HURD_THREADVAR_THREAD] = thread; |
top[_HURD_THREADVAR_THREAD] = (void *) thread; |
62 |
|
|
63 |
if (start_routine) |
if (start_routine) |
64 |
{ |
{ |