Add more comments in UefiDriverModelLib
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Aug 2006 05:18:48 +0000 (05:18 +0000)
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Aug 2006 05:18:48 +0000 (05:18 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1249 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/UefiDriverModelLib.h

index 5d10e75..d303dfc 100644 (file)
 #define UEFI_DRIVER_MODEL_LIBRARY_DRIVER_CONFIGURATION_PROTOCOL_ENABLED  0x04\r
 \r
 //\r
-// \r
+// Bitmask values for the protocols that are enabled\r
 //\r
 extern const UINT8                           _gDriverModelProtocolBitmask;\r
 \r
 //\r
-//\r
+// Data structure that declares pointers to the Driver Model \r
+// Protocols.\r
 //\r
 typedef struct {\r
   const EFI_DRIVER_BINDING_PROTOCOL        *DriverBinding;\r
@@ -40,9 +41,15 @@ typedef struct {
 } EFI_DRIVER_MODEL_PROTOCOL_LIST;\r
 \r
 //\r
-//\r
+// The number of UEFI Driver Model Protocols that the module\r
+// produces.  Typically drivers only produce one.\r
+// When UEFI drivers are merged, they will produce several.\r
 //\r
 extern const UINTN                           _gDriverModelProtocolListEntries;\r
+\r
+//\r
+// UEFI Driver Model Protocols arrary\r
+//\r
 extern const EFI_DRIVER_MODEL_PROTOCOL_LIST  _gDriverModelProtocolList[];\r
 \r
 #endif\r