summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Library/ResetSystemLib.h
diff options
context:
space:
mode:
authorpkandel <pkandel@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-11 14:17:23 +0000
committerpkandel <pkandel@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-11 14:17:23 +0000
commite9b67286ad4428d63e2495f38b71273b81e0846f (patch)
treef1e2ae7fdb1a10f6138332ac9780ea980588d092 /MdeModulePkg/Include/Library/ResetSystemLib.h
parent9277fdf8e7e6e5192f723f31fd205a9297c6a0aa (diff)
downloadedk2-platforms-e9b67286ad4428d63e2495f38b71273b81e0846f.tar.xz
Committing changes to the comments, to improve code documentation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8533 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include/Library/ResetSystemLib.h')
-rw-r--r--MdeModulePkg/Include/Library/ResetSystemLib.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/MdeModulePkg/Include/Library/ResetSystemLib.h b/MdeModulePkg/Include/Library/ResetSystemLib.h
index fd92135d7a..f77c441ad5 100644
--- a/MdeModulePkg/Include/Library/ResetSystemLib.h
+++ b/MdeModulePkg/Include/Library/ResetSystemLib.h
@@ -1,6 +1,6 @@
/** @file
System reset Library Services. This library class defines a set of
- methods to reset whole system.
+ methods that reset the whole system.
Copyright (c) 2005 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -17,13 +17,12 @@
#define __RESET_SYSTEM_LIB_H__
/**
- Calling this function causes a system-wide reset. This sets
- all circuitry within the system to its initial state. This type of reset
+ This function causes a system-wide reset (cold reset), in which
+ all circuitry within the system returns to its initial state. This type of reset
is asynchronous to system operation and operates without regard to
cycle boundaries.
- System reset should not return, if it returns, it means the system does
- not support cold reset.
+ If this function returns, it means that the system does not support cold reset.
**/
VOID
EFIAPI
@@ -32,11 +31,10 @@ ResetCold (
);
/**
- Calling this function causes a system-wide initialization. The processors
- are set to their initial state, and pending cycles are not corrupted.
+ This function causes a system-wide initialization (warm reset), in which all processors
+ are set to their initial state. Pending cycles are not corrupted.
- System reset should not return, if it returns, it means the system does
- not support warm reset.
+ If this function returns, it means that the system does not support warm reset.
**/
VOID
EFIAPI
@@ -45,10 +43,10 @@ ResetWarm (
);
/**
- Calling this function causes the system to enter a power state equivalent
+ This function causes the system to enter a power state equivalent
to the ACPI G2/S5 or G3 states.
- System shutdown should not return, if it returns, it means the system does
+ If this function returns, it means the system does
not support shut down reset.
**/
VOID
@@ -58,11 +56,11 @@ ResetShutdown (
);
/**
- Calling this function causes the system to enter S3 and then
+ This function causes the system to enter S3 and then
wake up immediately.
- Reset update should not return, if it returns, it means the
- library does not the feature.
+ If this function returns, it means the
+ system does not support the feature.
**/
VOID
EFIAPI