]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.uni
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / PlatformDriOverrideDxe / PlatDriOverrideDxe.uni
1 // /** @file
2 // This driver produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist.
3 //
4 // It doesn't install again if this protocol exists.
5 // It only implements one interface GetDriver of PLATFORM_DRIVER_OVERRIDE_PROTOCOL protocol
6 // and doesn't support other two interfaces GetDriverPath, DriverLoaded.
7 //
8 // This driver also offers an UI interface in device manager to let user configure
9 // platform override protocol to override the default algorithm for matching
10 // drivers to controllers.
11 //
12 // The main flow:
13 // 1. It dynamicly locate all controller device path.
14 // 2. It dynamicly locate all drivers which support binding protocol.
15 // 3. It export and dynamicly update two menu to let user select the
16 // mapping between drivers to controllers.
17 // 4. It save all the mapping info in NV variables for the following boot,
18 // which will be consumed by GetDriver API of the produced the platform override protocol.
19 //
20 // Caution: This module is a sample implementation for the test purpose.
21 //
22 // Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
23 //
24 // SPDX-License-Identifier: BSD-2-Clause-Patent
25 //
26 // **/
27
28
29 #string STR_MODULE_ABSTRACT #language en-US "Produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist"
30
31 #string STR_MODULE_DESCRIPTION #language en-US "This driver produces UEFI PLATFORM_DRIVER_OVERRIDE_PROTOCOL if this protocol doesn't exist. It only implements the GetDriver() interface of PLATFORM_DRIVER_OVERRIDE_PROTOCOL protocol This driver also offers an UI interface in device manager to let users configure PlatformOverrideProtocol to override the default algorithm for matching drivers to controllers.<BR><BR>\n"
32 "The main flow:<BR>\n"
33 "1. It dynamically locates all controller device path.<BR>\n"
34 "2. It dynamically locates all drivers which support binding protocol.<BR>\n"
35 "3. It exports and dynamicly updates two menu to let user select the mapping between drivers to controllers.<BR>\n"
36 "4. It saves all the mapping info in NV variables for the following boot, which will be consumed by GetDriver API of the produced the platform override protocol.<BR>"
37