Add more comments in UefiDriverModelLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1249 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1 2006-08-14 05:18:48 +00:00
parent b02824125f
commit 9136b0e0ba
1 changed files with 10 additions and 3 deletions

View File

@ -25,12 +25,13 @@
#define UEFI_DRIVER_MODEL_LIBRARY_DRIVER_CONFIGURATION_PROTOCOL_ENABLED 0x04 #define UEFI_DRIVER_MODEL_LIBRARY_DRIVER_CONFIGURATION_PROTOCOL_ENABLED 0x04
// //
// // Bitmask values for the protocols that are enabled
// //
extern const UINT8 _gDriverModelProtocolBitmask; extern const UINT8 _gDriverModelProtocolBitmask;
// //
// // Data structure that declares pointers to the Driver Model
// Protocols.
// //
typedef struct { typedef struct {
const EFI_DRIVER_BINDING_PROTOCOL *DriverBinding; const EFI_DRIVER_BINDING_PROTOCOL *DriverBinding;
@ -40,9 +41,15 @@ typedef struct {
} EFI_DRIVER_MODEL_PROTOCOL_LIST; } 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; extern const UINTN _gDriverModelProtocolListEntries;
//
// UEFI Driver Model Protocols arrary
//
extern const EFI_DRIVER_MODEL_PROTOCOL_LIST _gDriverModelProtocolList[]; extern const EFI_DRIVER_MODEL_PROTOCOL_LIST _gDriverModelProtocolList[];
#endif #endif