Try to locate any instances where pmap_enter*() is called with a kernel
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 2 Jan 2007 04:21:16 +0000 (04:21 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 2 Jan 2007 04:21:16 +0000 (04:21 +0000)
commitfbbaeba3d7ffaa1ceb95835a3864f45c7632b90e
treec6bdcc4356eacf36de33ceec0703d0fc6144c430
parent5d549ba0142a3662bf2211b76c2d0decc602fa2f
Try to locate any instances where pmap_enter*() is called with a kernel
virtual address on a pmap other then kernel_pmap by adding some debugging
printfs.

Remove pmap_kernel() (which just returned a pointer to kernel_pmap), and
change the kernel_pmap global from a pointer to a directly accessed
structure.  Adjust code accordingly.
sys/bus/isa/i386/isa_dma.c
sys/kern/kern_memio.c
sys/kern/kern_slaballoc.c
sys/platform/pc32/i386/db_interface.c
sys/platform/pc32/i386/pmap.c
sys/platform/pc32/include/pmap.h