vkernel: Make kptobj a static structure.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 19 Jan 2017 08:03:16 +0000 (00:03 -0800)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Fri, 20 Jan 2017 22:22:18 +0000 (23:22 +0100)
commit15d6dd342799b62370cbb087a4b36cc66b83a926
treee5ebfb14424aa065d9b605fdbd43a7dca11ed0e6
parenta17c6c05fc30ef8716187e224ed8c27938635c7e
vkernel: Make kptobj a static structure.

  - There is a chicken-egg problem while allocating kptobj. Recent changes
    have made vm_object allocation to depend on kmalloc() which will call
    pmap_growkernel() when kptobj is not yet ready.
sys/platform/vkernel64/platform/pmap.c