reactos/ntoskrnl/kd64
Hermès Bélusca-Maïto 61feb649d1
[NTOS:KD64] kdx86.c: Fix Dr7 check to verify whether debugger disabling is allowed (#7538)
Don't check the whole Dr7 value, but only the first 8 bits that
correspond to the local/global enable breakpoints.

We cannot check the whole value because some of the Dr7 bits are
reserved always set to 1 (bit 10), or describe other debug state.

References:

- https://en.wikipedia.org/wiki/X86_debug_register#DR7_-_Debug_control

- Intel® 64 and IA-32 Architectures Software Developer’s Manual,
  Volume 3 (3A, 3B, 3C, & 3D): System Programming Guide
  https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html
  Section "19.2.4 Debug Control Register (DR7)" (pgs. 644-646)
2024-12-03 19:02:21 +01:00
..
amd64 [NTOS:KD64] Only use the UNIMPLEMENTED macro in the debugger's KdpSys* helpers. 2024-11-21 22:34:37 +01:00
arm [NTOS:KD64] Only use the UNIMPLEMENTED macro in the debugger's KdpSys* helpers. 2024-11-21 22:34:37 +01:00
i386 [NTOS:KD64] kdx86.c: Fix Dr7 check to verify whether debugger disabling is allowed (#7538) 2024-12-03 19:02:21 +01:00
kdapi.c [NTOS:KE/x64] Implement Kd processor switching 2024-04-23 15:50:06 +02:00
kdbreak.c
kddata.c [NTOS:KE/x64] Implement Kd processor switching 2024-04-23 15:50:06 +02:00
kdinit.c [NTOS:KE/x64] Implement Kd processor switching 2024-04-23 15:50:06 +02:00
kdlock.c
kdprint.c
kdtrap.c [NTOS:KDBG] Minor code style for the following commits 2024-10-14 22:51:51 +02:00