Commit 2995806
committed
[NTOS:KD64] kdx64.c: Implement KdpAllowDisable() the same as in x86 (reactos#7538)
AMD64 has the same DR7 register as x86 with the same bits meanings,
thus the same implementation can be used.
References:
- https://en.wikipedia.org/wiki/X86_debug_register#DR7_-_Debug_control
- AMD64 Architecture Programmer’s Manual, Volume 2: System Programming
https://www.amd.com/content/dam/amd/en/documents/processor-tech-docs/programmer-references/24593.pdf
Section "13.1.1.4 Debug-Control Register (DR7)"
pgs. 393-396 (pgs. 455-458 of the PDF)
- 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)
Section "19.2.6 Debug Registers and Intel® 64 Processors" (pg. 647)1 parent 61feb64 commit 2995806
1 file changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
367 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
368 | 381 | | |
369 | 382 | | |
370 | 383 | | |
0 commit comments