diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-08-23 23:30:10 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-08-23 23:30:10 +0200 |
commit | 6491418d867739dbcecaedd9c363d5569f8fbf92 (patch) | |
tree | f5233f496e5a681f3a90a707e3e69d8df1071790 /include | |
parent | a3e36262204cc39ff1998cacbe4ceb35b9b073b5 (diff) |
* moved KDBG to KMemDriver.h
* moved GetPages, GetModules to Memory.c
* moved VAD routines to VAD.c
Diffstat (limited to 'include')
-rw-r--r-- | include/KMemDriver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/KMemDriver.h b/include/KMemDriver.h index c6bd734..031947d 100644 --- a/include/KMemDriver.h +++ b/include/KMemDriver.h @@ -2,6 +2,11 @@ #ifdef KERNEL_MODULE #include "Native.h" +#ifdef _DEBUG_ +#define KDBG(fmt, ...) DbgPrint("KMemDriver[%01d]: " fmt, KeGetCurrentIrql(), __VA_ARGS__) +#else +#define KDBG(fmt, ...) +#endif #else #include <windows.h> #ifndef NTSTATUS |