mmap() and friends using vm regions
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 7 Jul 2010 18:37:30 +0000 (11:37 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:48 +0000 (17:35 -0700)
commite1b94e23d19033e1b4eb81e3f5414549ac41d7b7
treee871cb8b977796b6476a8dcee1733e033f7d4cba
parente240a5abcb06233ef2afc631dbeb1e38bec6871f
mmap() and friends using vm regions

Not heavily tested, esp with files.  There are still things related to
the old pfault_info floating around, which will go away soon.

mprotect() also now is best effort, and won't fail if a part of the
interval is unmapped.  Might change that later.

There are also a bunch of inefficiencies with vmr management, related to
merging and finding them when performing some of these operations.
Plenty of TODOs.
kern/include/mm.h
kern/include/ros/memlayout.h
kern/src/frontend.c
kern/src/mm.c
kern/src/syscall.c