X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadDr0.c;fp=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadDr0.c;h=23880a416ef79f8d738317b9b630239d06a3af1e;hb=42eedea958591087603bbacd1c2227d2494026af;hp=7c6f0c629a7ef0424faf815ccf9c320902fdb5d3;hpb=0f82bd55142af193e669e76fcaf02f8d835f3f39;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr0.c b/MdePkg/Library/BaseLib/Ia32/ReadDr0.c index 7c6f0c629a..23880a416e 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDr0.c +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr0.c @@ -17,6 +17,16 @@ // +/** + Reads the current value of Debug Register 0 (DR0). + + Reads and returns the current value of DR0. This function is only available + on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on + X64. + + @return The value of Debug Register 0 (DR0). + +**/ UINTN EFIAPI AsmReadDr0 (