]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadDr6.c
Fix the bug in x64 thunk code that it cannot handle the case when GDT is loaded in...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadDr6.c
index debeecb24f7c0a80a0baf9240e93d9518def791e..7de79eca6b77d3d36547c153a1b72d1ccf6003e3 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr6 function\r
 \r
-  Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
   All rights reserved. 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
 \r
 **/\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
 \r
 \r
+\r
+/**\r
+  Reads the current value of Debug Register 6 (DR6).\r
+\r
+  Reads and returns the current value of DR6. This function is only available\r
+  on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on\r
+  x64.\r
+\r
+  @return The value of Debug Register 6 (DR6).\r
+\r
+**/\r
 UINTN\r
 EFIAPI\r
 AsmReadDr6 (\r