]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/UefiLib.h
Add extra DriverConfiguration2 protocol parameter for EfiLibInstallAllDriverbinding2...
[mirror_edk2.git] / MdePkg / Include / Library / UefiLib.h
index f84829d84b1d5e5aa870e7ef2c96f8bf2649f54e..7a8af6036dda95ef9f2bcd1cc6294fb68485e364 100644 (file)
@@ -1,5 +1,9 @@
 /** @file\r
-  MDE UEFI library functions and macros\r
+  The UEFI Library provides functions and macros that simplify the development of \r
+  UEFI Drivers and UEFI Applications.  These functions and macros help manage EFI \r
+  events, build simple locks utilizing EFI Task Priority Levels (TPLs), install \r
+  EFI Driver Model related protocols, manage Unicode string tables for UEFI Drivers, \r
+  and print messages on the console output and standard error devices.\r
 \r
   Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
 #include <Protocol/DriverDiagnostics.h>\r
 #include <Protocol/DriverDiagnostics2.h>\r
 \r
-///\r
-/// Limited buffer size recommended by RFC3066\r
-/// (42 characters plus a NULL terminator)\r
-///\r
-#define RFC_3066_ENTRY_SIZE             (42 + 1)\r
-\r
 ///\r
 /// Unicode String Table\r
 ///\r
@@ -963,21 +961,22 @@ EfiLibInstallDriverBindingComponentName2 (
 \r
 \r
 /**\r
-  Initializes a driver by installing the Driver Binding Protocol together with the optional Component Name,\r
+  Intialize a driver by installing the Driver Binding Protocol together with the optional Component Name,\r
   Component Name 2, Driver Configure, Driver Diagnostic and Driver Diagnostic 2 Protocols onto the driver's\r
   DriverBindingHandle.  This is typically the same as the driver's ImageHandle, but it can be different if\r
   the driver produces multiple DriverBinding Protocols. \r
-  If the Driver Binding Protocol interface is NULL, then ASSERT (). \r
+  If the Drvier Binding Protocol interface is NULL, then ASSERT (). \r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
-  @param  DriverBindingHandle         The handle that DriverBinding is to be installed onto.  If this\r
+  @param  DriverBindingHandle         The handle that DriverBinding is to be installe onto.  If this\r
                                       parameter is NULL, then a new handle is created.\r
   @param  ComponentName               A Component Name Protocol instance that this driver is producing.\r
   @param  ComponentName2              A Component Name 2 Protocol instance that this driver is producing.\r
   @param  DriverConfiguration         A Driver Configuration Protocol instance that this driver is producing.\r
+  @param  DriverConfiguration2        A Driver Configuration Protocol 2 instance that this driver is producing.\r
   @param  DriverDiagnostics           A Driver Diagnostics Protocol instance that this driver is producing.\r
   @param  DriverDiagnostics2          A Driver Diagnostics Protocol 2 instance that this driver is producing.\r
 \r
@@ -992,11 +991,12 @@ EfiLibInstallAllDriverProtocols2 (
   IN CONST EFI_SYSTEM_TABLE                   *SystemTable,\r
   IN EFI_DRIVER_BINDING_PROTOCOL              *DriverBinding,\r
   IN EFI_HANDLE                               DriverBindingHandle,\r
-  IN CONST EFI_COMPONENT_NAME_PROTOCOL        *ComponentName,       OPTIONAL\r
-  IN CONST EFI_COMPONENT_NAME2_PROTOCOL       *ComponentName2,      OPTIONAL\r
-  IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL  *DriverConfiguration, OPTIONAL\r
-  IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL    *DriverDiagnostics,   OPTIONAL\r
-  IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL   *DriverDiagnostics2   OPTIONAL\r
+  IN CONST EFI_COMPONENT_NAME_PROTOCOL        *ComponentName,        OPTIONAL\r
+  IN CONST EFI_COMPONENT_NAME2_PROTOCOL       *ComponentName2,       OPTIONAL\r
+  IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL  *DriverConfiguration,  OPTIONAL\r
+  IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL  *DriverConfiguration2, OPTIONAL\r
+  IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL    *DriverDiagnostics,    OPTIONAL\r
+  IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL   *DriverDiagnostics2    OPTIONAL\r
   );\r
 \r
 /**\r