summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/WriteDr2.S
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-21 03:34:55 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-21 03:34:55 +0000
commitab9a4f163831f944ea0372fc30618846a51d48f0 (patch)
tree91cc7a902b18dc3de9cc6c08d0b5c1636a043bc4 /MdePkg/Library/BaseLib/X64/WriteDr2.S
parent7800593dcaad8480e276ec5e949fff8ea242d492 (diff)
downloadedk2-platforms-ab9a4f163831f944ea0372fc30618846a51d48f0.tar.xz
Fix bugs in GNU assembly files for writing CR and DR registers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4590 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/WriteDr2.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteDr2.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/WriteDr2.S b/MdePkg/Library/BaseLib/X64/WriteDr2.S
index a9e5369175..ee4b669ea0 100644
--- a/MdePkg/Library/BaseLib/X64/WriteDr2.S
+++ b/MdePkg/Library/BaseLib/X64/WriteDr2.S
@@ -33,5 +33,5 @@
.align 16;
_AsmWriteDr2:
mov %rcx, %dr2
- mov %rcx, rax
+ mov %rcx, %rax
ret