Use env_segment_alloc for stacks, not mmap
authorAndrew Waterman <waterman@ros-dev.(none)>
Fri, 26 Mar 2010 22:17:05 +0000 (15:17 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:38 +0000 (17:35 -0700)
commitae7c8164a560964bf575971c178b9644121a02ab
tree46978629666ba96c3678f9ed0e73580dd8b362a1
parent09d8aec3f7e6d16cc9491d3abdaaf700e82247f9
Use env_segment_alloc for stacks, not mmap

SPARC register window handlers expect the stack to be
mapped-in at all times.  Thus, demand-paging the stack
will break SPARC.  This restriction is not fundamental,
but it would be very difficult to work around.
kern/src/elf.c