/[hurd]/hurd-l4/task/ia32-cmain.c
ViewVC logotype

Diff of /hurd-l4/task/ia32-cmain.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by marcus, Wed Oct 27 20:35:40 2004 UTC revision 1.5 by marcus, Fri Oct 29 03:15:30 2004 UTC
# Line 110  switch_thread (l4_thread_id_t from, l4_t Line 110  switch_thread (l4_thread_id_t from, l4_t
110        
111    /* We need a bit of extra space on the stack for    /* We need a bit of extra space on the stack for
112       l4_thread_switch.  */       l4_thread_switch.  */
113    __thread_set_stack_pointer (small_sub_stack);    __thread_set_stack_pointer (small_sub_stack + sizeof (small_sub_stack));
114    
115    /* We can't use while(1), because then gcc will become clever and    /* We can't use while(1), because then gcc will become clever and
116       optimize away everything after thread_switch_entry.  */       optimize away everything after thread_switch_entry.  */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26