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