summaryrefslogtreecommitdiff
path: root/libthreads/stack.c
AgeCommit message (Collapse)Author
2012-07-08Always enable stack red zoneSamuel Thibault
* libthreads/stack.c (setup_stack): Always enable disabling access to end of stack. Add support for stacks growing up.
2002-07-292002-07-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* stack.c (stack_init): Put back in setting of the __hurd_threadvar_stack_mask and __hurd_threadvar_stack_offset variables (which got lost in the merge).
2002-05-272002-05-26 Roland McGrath <roland@frob.com>Roland McGrath
Changes merged from CMU MK83a version: * cthreads.h, options.h: Various cleanups. * call.c, cthread_data.c, sync.c, mig_support.c, stack.c: Likewise. * i386/cthreads.h, i386/thread.c, i386/lock.s: Likewise. * cthread_internals.h: Add decls for internal functions. (struct cproc): Use vm_offset_t for stack_base and stack_size members. Use natural_t for context member. * cprocs.c: Use prototypes for all defns. * cthreads.c: Likewise. (cthread_exit): Cast any_t to integer_t before int.
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* cthreads.h: Fix obsolescent #endif syntax. * cthread_internals.h: Likewise. * cancel-cond.c: Likewise. * stack.c: Likewise. * cthreads.c: Likewise. * cprocs.c: Likewise. * call.c: Likewise.
1997-02-20(__hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset,Miles Bader
__hurd_threadvar_max): Make extern.
1995-12-10(addr_range_check, probe_stack): Functions #if 0'd out.Roland McGrath
(stack_init): Don't call probe_stack or frob old stack at all. Default cthread_stack_size to 16 pages if it is zero.
1994-05-05entered into RCSRoland McGrath
1994-05-04Formerly stack.c.~3~Michael I. Bushnell
1994-05-04Formerly stack.c.~2~Roland McGrath
1992-10-06Initial revisionMichael I. Bushnell