]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadCs.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 / ReadCs.c
index cd9bad54e7da64be792253178dedc0332e4ad361..2d16c42b2f764d197f41929e567396918b98af1d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadCs 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 Code Segment Register (CS).\r
+\r
+  Reads and returns the current value of CS. This function is only available on\r
+  IA-32 and x64.\r
+\r
+  @return The current value of CS.\r
+\r
+**/\r
 UINT16\r
 EFIAPI\r
 AsmReadCs (\r