summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Library
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-14 05:18:48 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-14 05:18:48 +0000
commit9136b0e0babdff65926bb31845b1784931911746 (patch)
treea3203fb766aef0e9202b5a550afd8c4294f492a5 /MdePkg/Include/Library
parentb02824125f2a6d9e6f9ea50447d182334060c5cb (diff)
downloadedk2-platforms-9136b0e0babdff65926bb31845b1784931911746.tar.xz
Add more comments in UefiDriverModelLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1249 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Library')
-rw-r--r--MdePkg/Include/Library/UefiDriverModelLib.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/MdePkg/Include/Library/UefiDriverModelLib.h b/MdePkg/Include/Library/UefiDriverModelLib.h
index 5d10e7532f..d303dfc065 100644
--- a/MdePkg/Include/Library/UefiDriverModelLib.h
+++ b/MdePkg/Include/Library/UefiDriverModelLib.h
@@ -25,12 +25,13 @@
#define UEFI_DRIVER_MODEL_LIBRARY_DRIVER_CONFIGURATION_PROTOCOL_ENABLED 0x04
//
-//
+// Bitmask values for the protocols that are enabled
//
extern const UINT8 _gDriverModelProtocolBitmask;
//
-//
+// Data structure that declares pointers to the Driver Model
+// Protocols.
//
typedef struct {
const EFI_DRIVER_BINDING_PROTOCOL *DriverBinding;
@@ -40,9 +41,15 @@ typedef struct {
} EFI_DRIVER_MODEL_PROTOCOL_LIST;
//
-//
+// The number of UEFI Driver Model Protocols that the module
+// produces. Typically drivers only produce one.
+// When UEFI drivers are merged, they will produce several.
//
extern const UINTN _gDriverModelProtocolListEntries;
+
+//
+// UEFI Driver Model Protocols arrary
+//
extern const EFI_DRIVER_MODEL_PROTOCOL_LIST _gDriverModelProtocolList[];
#endif