https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bd0eaa924d6f91cac3d89…
commit bd0eaa924d6f91cac3d89dbfbe1984681761846d
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Aug 2 22:03:54 2023 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Aug 3 13:26:24 2023 +0200
[HALX86] HalHandleNMI: Re-enable debugger-entering code.
---
hal/halx86/generic/nmi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hal/halx86/generic/nmi.c b/hal/halx86/generic/nmi.c
index 3da64f1e1aa..42a003d75bd 100644
--- a/hal/halx86/generic/nmi.c
+++ b/hal/halx86/generic/nmi.c
@@ -99,7 +99,8 @@ HalHandleNMI(
/* Enter the debugger if possible */
KiBugCheckData[0] = (ULONG_PTR)KeServiceDescriptorTable; /* NMI Corruption? */
- //if (!(KdDebuggerNotPresent) && (KdDebuggerEnabled))
KeEnterKernelDebugger();
+ if (!KdDebuggerNotPresent && KdDebuggerEnabled)
+ KeEnterKernelDebugger();
#endif /* !_MINIHAL_ */
/* Freeze the system */