From: yshang1 Date: Mon, 14 Aug 2006 05:18:48 +0000 (+0000) Subject: Add more comments in UefiDriverModelLib X-Git-Tag: edk2-stable201903~24624 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=9136b0e0babdff65926bb31845b1784931911746 Add more comments in UefiDriverModelLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1249 6f19259b-4bc3-4df7-8a09-765794883524 --- 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