Collapse some bits of repetitive code into their own procedures and
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 13 Sep 2006 22:25:00 +0000 (22:25 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 13 Sep 2006 22:25:00 +0000 (22:25 +0000)
commit53025830b33ce581d13c85a67f243833d886d654
treec321692a08152eb2cde87367b7cfed9fc8fc9f32
parentc263ae775101522bc2066357e0f526f844327fb4
Collapse some bits of repetitive code into their own procedures and
allocate a maximally sized default object to back MAP_VPAGETABLE
mappings, allowing us to access logical memory beyond the size of the
original mmap() call by programming the page table to point at it.

This gives us an abstraction and capability similar to a real kernel's
ability to map e.g. 2GB of physical memory into its 1GB address space.
sys/vm/vm_fault.c
sys/vm/vm_map.c
sys/vm/vm_map.h