]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadCr2.c
Update the text to use "x64" instead of "X64" in MdePkg.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadCr2.c
index 1c682b3899c4e14eb6d215f460d86188bfdcb461..61e7fb3b4335ca6ae664dacdfadb4b5476afc932 100644 (file)
 \r
 **/\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
 \r
 \r
+\r
+/**\r
+  Reads the current value of the Control Register 2 (CR2).\r
+\r
+  Reads and returns the current value of CR2. 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 2 (CR2).\r
+\r
+**/\r
 UINTN\r
 EFIAPI\r
 AsmReadCr2 (\r