Moved brk/sbrk into user-space
authorAndrew Waterman <waterman@ros-dev.(none)>
Mon, 5 Apr 2010 01:49:25 +0000 (18:49 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:39 +0000 (17:35 -0700)
commit6b6664d235602d74a1c05fcddb0029a4c6cc4813
tree9b52130931d791fe6761843c1f5dadc8d654beb5
parent0ca7f42c812c69042e8170d735c4662552a72fc8
Moved brk/sbrk into user-space

glibc now does it with mmap.  BRK_END is used
to demarcate between the maximum break size
and where non-MAP_FIXED mmap starts allocating,
so the heap and mmap'd memory won't collide.

sys_brk still exists for compatibility with newlib;
someone might want to delete this in the future.

Recompile the cross-compiler, as procinfo changed.
kern/arch/i686/pmap.c
kern/arch/sparc/pmap.c
kern/include/env.h
kern/include/ros/memlayout.h
kern/include/ros/procinfo.h
kern/src/elf.c
kern/src/env.c
kern/src/process.c
kern/src/syscall.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/brk.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/sbrk.c [new file with mode: 0644]