]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadCr2.c
Code Scrub for MdePkg.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadCr2.c
index 1c682b3899c4e14eb6d215f460d86188bfdcb461..4e97814ee3e48cc14f455dc3dacc9952e7ca64ec 100644 (file)
 //\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