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