K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-12-04T12:28:56.072137Z K 7 svn:log V 688 This commit enables userland to load and start executing, as it did before recent vm/ shakeups. fork(2) is still wip. Changes: pmap.c: i) Initial split out of pmap_enter() variants: - pmap_enter_locked() - pmap_enter_quick() - pmap_enter_object() ii) Improve locking behaviour - make it more consistent with native pmap iii) Fix two api change related bugs. (kva_alloc() and friends) iv) Miscellaneous further pmap functions to make boot progress. pmap_pv.[hc]: i) Modify the api to export locking behaviour control. ii) Fine tune pv chunk garbage collecting. iii) Remove stray debug/instrumentation code. "- if (pmap == kernel_pmap) return true;" Approved by: gibbs(implicit) END