]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadCr0.c
remove unnecessary comments introduced by tools from MdePkg. The regular express...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadCr0.c
index 4931775bef8168d26d170c3f6de0805f90bf0629..3f95c50bf8ad2a9b3d706a0fa77a81412a4bcaca 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadCr0 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, 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
-#if _MSC_EXTENSIONS\r
 \r
+\r
+\r
+/**\r
+  Reads the current value of the Control Register 0 (CR0).\r
+\r
+  Reads and returns the current value of CR4. 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 the Control Register 0 (CR0).\r
+\r
+**/\r
 UINTN\r
 EFIAPI\r
 AsmReadCr0 (\r
@@ -24,5 +35,3 @@ AsmReadCr0 (
     mov     eax, cr0\r
   }\r
 }\r
-\r
-#endif\r