mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +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;
|
ULONG beg, end, num;
|
||||||
IO_STATUS_BLOCK Iosb;
|
IO_STATUS_BLOCK Iosb;
|
||||||
|
|
||||||
|
ASSERT(ExGetPreviousMode() == KernelMode);
|
||||||
|
|
||||||
KdpLoggingEnabled = TRUE;
|
KdpLoggingEnabled = TRUE;
|
||||||
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue