]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteDr4.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteDr4.nasm
index c4b12c9e924e0606f31ddd66ef482191971710de..5e4d96015eb0b0cfd739ca80d67018d26e7410f0 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Module Name:\r
@@ -31,7 +31,7 @@ ASM_PFX(AsmWriteDr4):
     ; There's no obvious reason to access this register, since it's aliased to\r
     ; DR6 when DE=0 or an exception generated when DE=1\r
     ;\r
-    DB      0xf, 0x23, 0xe1\r
+    mov     dr4, rcx\r
     mov     rax, rcx\r
     ret\r
 \r