]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/ReadDr5.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / ReadDr5.nasm
index c309c66dfec30726d4ea3e80c97a9acb622e9c77..c1143f44981a10dfe060652844631f25ab5420e0 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,6 +31,6 @@ ASM_PFX(AsmReadDr5):
     ; There's no obvious reason to access this register, since it's aliased to\r
     ; DR7 when DE=0 or an exception generated when DE=1\r
     ;\r
-    DB      0xf, 0x21, 0xe8\r
+    mov     rax, dr5\r
     ret\r
 \r