mmap() with addr 0 will start from BRK_END
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 26 Mar 2011 00:22:33 +0000 (17:22 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:01 +0000 (17:36 -0700)
commit0f80e89dcb51e09c5939de13b016c1a85aaedb0d
tree8a47d73cf89b38048fc051c3b4198b04926da45a
parent70542c5fe9d3b1a9c43c0cd3d15354e5c2e577ad
mmap() with addr 0 will start from BRK_END

I might prefer having userspace be the one to adjust the addr to BRK_END
instead of the kernel, but this gets the job done.
kern/include/ros/memlayout.h
kern/src/mm.c