]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadDr2.c
Code Scrub for MdePkg.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadDr2.c
index 6685d775f767bacbbf653f316c79297a20cc76a0..02ba6a8545611db983ead6cbdeb5408ddc3e130f 100644 (file)
 //\r
 \r
 \r
+/**\r
+  Reads the current value of Debug Register 2 (DR2).\r
+\r
+  Reads and returns the current value of DR2. 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 2 (DR2).\r
+\r
+**/\r
 UINTN\r
 EFIAPI\r
 AsmReadDr2 (\r