summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/CpuPause.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/CpuPause.c')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuPause.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuPause.c b/MdePkg/Library/BaseLib/Ia32/CpuPause.c
index ee7c96736b..138e3a3a09 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuPause.c
+++ b/MdePkg/Library/BaseLib/Ia32/CpuPause.c
@@ -17,6 +17,13 @@
//
+/**
+ Requests CPU to pause for a short period of time.
+
+ Requests CPU to pause for a short period of time. Typically used in MP
+ systems to prevent memory starvation while waiting for a spin lock.
+
+**/
VOID
EFIAPI
CpuPause (