diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/ReadDr5.asm')
-rw-r--r-- | MdePkg/Library/BaseLib/X64/ReadDr5.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr5.asm b/MdePkg/Library/BaseLib/X64/ReadDr5.asm index 0582502220..3bee3a56ec 100644 --- a/MdePkg/Library/BaseLib/X64/ReadDr5.asm +++ b/MdePkg/Library/BaseLib/X64/ReadDr5.asm @@ -31,6 +31,10 @@ ; );
;------------------------------------------------------------------------------
AsmReadDr5 PROC
+ ;
+ ; There's no obvious reason to access this register, since it's aliased to
+ ; DR7 when DE=0 or an exception generated when DE=1
+ ;
DB 0fh, 21h, 0e8h
ret
AsmReadDr5 ENDP
|