This is a patch i've been keeping for a while. Yes, it's not "as nt does it",
authorArt Yerkes <art.yerkes@gmail.com>
Mon, 28 Jul 2008 14:47:17 +0000 (14:47 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Mon, 28 Jul 2008 14:47:17 +0000 (14:47 +0000)
commit7c5414460f0f049b3a364db5384b2dc8411f6de5
treee4b177fe93a0fa77dba90fcd46e45a235c703a4e
parent94f599dec29dd0fbc15273437f23504028a3ef6f
This is a patch i've been keeping for a while.  Yes, it's not "as nt does it",
but it solves a practical problem, and isn't particularly invasive (the main
change is the call to KdpEnableSafeMem ... everything else could be macroed
out if desired).

This provides armour for kdbg and gdb that avoid faulting on bad addresses by
implementing a simple poor-man's mmu and letting the debuggers use it.

svn path=/trunk/; revision=34904
reactos/ntoskrnl/include/internal/kd.h
reactos/ntoskrnl/kd/i386/kdmemsup.c [new file with mode: 0644]
reactos/ntoskrnl/kd/kdinit.c
reactos/ntoskrnl/kd/wrappers/gdbstub.c
reactos/ntoskrnl/kdbg/kdb.c
reactos/ntoskrnl/ntoskrnl-generic.rbuild
reactos/ntoskrnl/vdm/vdmmain.c