diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-14 09:01:34 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-14 09:01:34 +0000 |
commit | f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a (patch) | |
tree | 2937d148454e21adf29de0090e13b2fe9838711b /MdePkg/Library/CpuLib | |
parent | 6aab82140b20fab408f79dd428555b5d03370f72 (diff) | |
download | edk2-platforms-f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a.tar.xz |
Code scrub:
MdePkg/Library/BaseCacheMaintenanceLib
MdePkg/Library/BaseDebugLibNull
MdePkg/Library/BaseIoLibIntrinsic
MdePkg/Library/BaseLib
MdePkg/Library/BasePeCoffLib
MdePkg/Library/CpuLib
MdePkg/Library/DxeMemoryLib
MdePkg/Library/DxePiLib
MdePkg/Library/PeiIoLib
MdePkg/Library/PeiMemoryLib
MdePkg/Library/UefiBootServicesTableLib
MdePkg/Library/UefiLib
MdePkg/Library/UefiRuntimeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5464 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/CpuLib')
-rw-r--r-- | MdePkg/Library/CpuLib/Ia32/CpuPause.c | 12 | ||||
-rw-r--r-- | MdePkg/Library/CpuLib/Ia32/CpuSleep.c | 10 |
2 files changed, 16 insertions, 6 deletions
diff --git a/MdePkg/Library/CpuLib/Ia32/CpuPause.c b/MdePkg/Library/CpuLib/Ia32/CpuPause.c index ee7c96736b..c62503ae10 100644 --- a/MdePkg/Library/CpuLib/Ia32/CpuPause.c +++ b/MdePkg/Library/CpuLib/Ia32/CpuPause.c @@ -12,11 +12,17 @@ **/
-//
-// Include common header file for this module.
-//
+/**
+ Places the CPU in a pause state until an interrupt is
+ received.
+ Places the CPU in a pause state until an interrupt is
+ received. If interrupts are disabled prior to calling this
+ function, then the CPU will be placed in a pause state
+ indefinitely.
+
+**/
VOID
EFIAPI
CpuPause (
diff --git a/MdePkg/Library/CpuLib/Ia32/CpuSleep.c b/MdePkg/Library/CpuLib/Ia32/CpuSleep.c index 690f9b3598..a39ad22064 100644 --- a/MdePkg/Library/CpuLib/Ia32/CpuSleep.c +++ b/MdePkg/Library/CpuLib/Ia32/CpuSleep.c @@ -12,11 +12,15 @@ **/
-//
-// Include common header file for this module.
-//
+/**
+ Places the CPU in a sleep state until an interrupt is received.
+ Places the CPU in a sleep state until an interrupt is received. If interrupts
+ are disabled prior to calling this function, then the CPU will be placed in a
+ sleep state indefinitely.
+
+**/
VOID
EFIAPI
CpuSleep (
|