summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/DriverConfiguration2.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-08 14:48:27 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-08 14:48:27 +0000
commit9319d2c2066a3798d1e2b6d29486d933896cbdb0 (patch)
tree68f32f05765592d4a26d2f588ed59488c11e344b /MdePkg/Include/Protocol/DriverConfiguration2.h
parentdb5d3dbd76b6fe8bfaf4b85de792e9e18d5175ad (diff)
downloadedk2-platforms-9319d2c2066a3798d1e2b6d29486d933896cbdb0.tar.xz
Add comments for most of enum data type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6924 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/DriverConfiguration2.h')
-rw-r--r--MdePkg/Include/Protocol/DriverConfiguration2.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DriverConfiguration2.h b/MdePkg/Include/Protocol/DriverConfiguration2.h
index e1597437a9..360b02b83b 100644
--- a/MdePkg/Include/Protocol/DriverConfiguration2.h
+++ b/MdePkg/Include/Protocol/DriverConfiguration2.h
@@ -26,9 +26,25 @@
typedef struct _EFI_DRIVER_CONFIGURATION2_PROTOCOL EFI_DRIVER_CONFIGURATION2_PROTOCOL;
typedef enum {
+ ///
+ /// The controller is still in a usable state. No actions
+ /// are required before this controller can be used again.
+ ///
EfiDriverConfigurationActionNone = 0,
+ ///
+ /// The driver has detected that the controller is not in a
+ /// usable state, and it needs to be stopped.
+ ///
EfiDriverConfigurationActionStopController = 1,
+ ///
+ /// This controller needs to be stopped and restarted
+ /// before it can be used again.
+ ///
EfiDriverConfigurationActionRestartController = 2,
+ ///
+ /// A configuration change has been made that requires the platform to be restarted before
+ /// the controller can be used again.
+ ///
EfiDriverConfigurationActionRestartPlatform = 3,
EfiDriverConfigurationActionMaximum
} EFI_DRIVER_CONFIGURATION_ACTION_REQUIRED;