]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteDr4.asm
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteDr4.asm
index 12b643825b6e462c868a0ea1d70ea3a2e229a676..c5d01500eeba4296012b3a6dbd50e0f2599a5c9e 100644 (file)
@@ -1,7 +1,7 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2006, Intel Corporation\r
-; All rights reserved. This program and the accompanying materials\r
+; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; This program and the accompanying materials\r
 ; are licensed and made available under the terms and conditions of the BSD License\r
 ; which accompanies this distribution.  The full text of the license may be found at\r
 ; http://opensource.org/licenses/bsd-license.php\r
 ; UINTN\r
 ; EFIAPI\r
 ; AsmWriteDr4 (\r
-;   VOID\r
+;   IN UINTN Value\r
 ;   );\r
 ;------------------------------------------------------------------------------\r
 AsmWriteDr4 PROC\r
+    ;\r
+    ; 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      0fh, 23h, 0e1h\r
+    mov     rax, rcx\r
     ret\r
 AsmWriteDr4 ENDP\r
 \r