summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/ReadTr.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadTr.c')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadTr.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTr.c b/MdePkg/Library/BaseLib/Ia32/ReadTr.c
index 0069811..dd94b0b 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadTr.c
+++ b/MdePkg/Library/BaseLib/Ia32/ReadTr.c
@@ -17,6 +17,15 @@
//
+/**
+ Reads the current value of Task Register (TR).
+
+ Reads and returns the current value of TR. This function is only available on
+ IA-32 and X64.
+
+ @return The current value of TR.
+
+**/
UINT16
EFIAPI
AsmReadTr (