diff options
author | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-10 06:57:04 +0000 |
---|---|---|
committer | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-10 06:57:04 +0000 |
commit | a9a812a0ed4ab3d83941fdc6da281aebdb9bb296 (patch) | |
tree | 869ad144d2c1dcd96d859a9ac4c40617dfc96588 /MdePkg/Library/BaseLib/X64/WriteDr5.asm | |
parent | 741fb364170375f89aa9c29488cc402db07a3776 (diff) | |
download | edk2-platforms-a9a812a0ed4ab3d83941fdc6da281aebdb9bb296.tar.xz |
1. Added comments to ASM files
2. Fixed a bug in 64-bit AsmDisablePaging64(), which may cause a #GP exception.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2206 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/WriteDr5.asm')
-rw-r--r-- | MdePkg/Library/BaseLib/X64/WriteDr5.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/X64/WriteDr5.asm b/MdePkg/Library/BaseLib/X64/WriteDr5.asm index 91eeef20e3..86009c3287 100644 --- a/MdePkg/Library/BaseLib/X64/WriteDr5.asm +++ b/MdePkg/Library/BaseLib/X64/WriteDr5.asm @@ -31,6 +31,10 @@ ; );
;------------------------------------------------------------------------------
AsmWriteDr5 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, 23h, 0e9h
mov rax, rcx
ret
|