mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 13:11:22 +00:00
[NTOS:KD] KdpLoggerThread(): Assert being in kernel mode
to be explicit that using Nt*() is safe.
Follow-up to 9537653
.
This commit is contained in:
parent
f82eb0fede
commit
802ad6d3ee
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ KdpLoggerThread(PVOID Context)
|
|||
ULONG beg, end, num;
|
||||
IO_STATUS_BLOCK Iosb;
|
||||
|
||||
ASSERT(ExGetPreviousMode() == KernelMode);
|
||||
|
||||
KdpLoggingEnabled = TRUE;
|
||||
|
||||
while (TRUE)
|
||||
|
|
Loading…
Reference in a new issue