/dev/[k]mem was not allowing access to the CPU globaldata area, because it
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 27 Jun 2006 16:38:42 +0000 (16:38 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 27 Jun 2006 16:38:42 +0000 (16:38 +0000)
commit03debc4a13263f19b2ba2268b32094ef0919fbed
treef8f25b720f2cd647a479f15533e14e8a926eef37
parentfe2aac3d619bbe0f60661ef629fb2690298d8c88
/dev/[k]mem was not allowing access to the CPU globaldata area, because it
is not part of kernel_map.  This prevented kgdb from operating properly
on a live kernel.  Add code to allow the case.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
sys/i386/i386/mem.c
sys/kern/kern_memio.c
sys/platform/pc32/i386/mem.c
sys/vm/vm_glue.c