X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FLibrary%2FUefiDriverModelLib.h;h=d303dfc0656b7c1489d2bf930c615fafb3b0d1e4;hp=b6532f15c3839139bf57bd85ccdb86149f49e8c8;hb=9136b0e0babdff65926bb31845b1784931911746;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4 diff --git a/MdePkg/Include/Library/UefiDriverModelLib.h b/MdePkg/Include/Library/UefiDriverModelLib.h index b6532f15c3..d303dfc065 100644 --- a/MdePkg/Include/Library/UefiDriverModelLib.h +++ b/MdePkg/Include/Library/UefiDriverModelLib.h @@ -1,16 +1,16 @@ /** @file - UEFI Driver Model Library Services + UEFI Driver Model Library Services - Copyright (c) 2006, Intel Corporation - All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php + Copyright (c) 2006, Intel Corporation + All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - Module Name: UefiDriverModelLib.h + Module Name: 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