]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/WriteDr5.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / WriteDr5.nasm
index bc5f424b8d9bba8ea5ff1c60af7231f26ad55624..354556102553c0cc906976e30b413203b26fafdf 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
@@ -32,8 +32,8 @@ ASM_PFX(AsmWriteDr5):
     ; this register will cause a #UD exception.\r
     ;\r
     ; MS assembler doesn't support this instruction since no one would use it\r
-    ; under normal circustances. Here opcode is used.\r
+    ; under normal circustances.\r
     ;\r
-    DB      0xf, 0x23, 0xe8\r
+    mov     dr5, eax\r
     ret\r
 \r