git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1249
6f19259b-4bc3-4df7-8a09-
765794883524
#define UEFI_DRIVER_MODEL_LIBRARY_DRIVER_CONFIGURATION_PROTOCOL_ENABLED 0x04\r
\r
//\r
#define UEFI_DRIVER_MODEL_LIBRARY_DRIVER_CONFIGURATION_PROTOCOL_ENABLED 0x04\r
\r
//\r
+// Bitmask values for the protocols that are enabled\r
//\r
extern const UINT8 _gDriverModelProtocolBitmask;\r
\r
//\r
//\r
extern const UINT8 _gDriverModelProtocolBitmask;\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
//\r
typedef struct {\r
const EFI_DRIVER_BINDING_PROTOCOL *DriverBinding;\r
} EFI_DRIVER_MODEL_PROTOCOL_LIST;\r
\r
//\r
} EFI_DRIVER_MODEL_PROTOCOL_LIST;\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
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
extern const EFI_DRIVER_MODEL_PROTOCOL_LIST _gDriverModelProtocolList[];\r
\r
#endif\r