[NTOS:KD][KDBG] Get rid of kdmemsup.c as its functionality has been superseded by...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 3 Nov 2019 22:36:40 +0000 (23:36 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 3 Nov 2019 22:46:52 +0000 (23:46 +0100)
commitaff644a1a2c98593a8d9d539668bdf6df98f077b
tree7392799e86e42d8d736cf10fa6e0743aea40ba84
parent384d55e47a561576bb7d50880e70cab681050dd9
[NTOS:KD][KDBG] Get rid of kdmemsup.c as its functionality has been superseded by that implemented in mm/arm3/mmdbg.c.

- Import KdpCopyMemoryChunks() from kd64/kdapi.c, and re-implement
  KdbpSafeReadMemory() and KdbpSafeWriteMemory() around it.
  Note that these functions read virtual memory and are equivalent of
  the kd64 KdpReadVirtualMemory() and KdpWriteVirtualMemory()
  respectively.

- Get rid of the KdpEnableSafeMem() call in KdInitSystem().
- Adjust kd gdbstub.c wrapper in accordance.
ntoskrnl/kd/amd64/kdmemsup.c [deleted file]
ntoskrnl/kd/i386/kdmemsup.c
ntoskrnl/kd/kdinit.c
ntoskrnl/kd/wrappers/gdbstub.c
ntoskrnl/kdbg/kdb.c
ntoskrnl/ntos.cmake