VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/DriverFamilyOverride.h@ 105681

最後變更 在這個檔案從105681是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.2 KB
 
1/** @file
2 UEFI Driver Family Protocol
3
4Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef __EFI_DRIVER_FAMILY_OVERRIDE_H__
10#define __EFI_DRIVER_FAMILY_OVERRIDE_H__
11
12#define EFI_DRIVER_FAMILY_OVERRIDE_PROTOCOL_GUID \
13 { \
14 0xb1ee129e, 0xda36, 0x4181, { 0x91, 0xf8, 0x4, 0xa4, 0x92, 0x37, 0x66, 0xa7 } \
15 }
16
17typedef struct _EFI_DRIVER_FAMILY_OVERRIDE_PROTOCOL EFI_DRIVER_FAMILY_OVERRIDE_PROTOCOL;
18
19//
20// Prototypes for the Driver Family Override Protocol
21//
22//
23
24/**
25 This function returns the version value associated with the driver specified by This.
26
27 Retrieves the version of the driver that is used by the EFI Boot Service ConnectController()
28 to sort the set of Driver Binding Protocols in order from highest priority to lowest priority.
29 For drivers that support the Driver Family Override Protocol, those drivers are sorted so that
30 the drivers with higher values returned by GetVersion() are higher priority than drivers that
31 return lower values from GetVersion().
32
33 @param This A pointer to the EFI_DRIVER_FAMILY_OVERRIDE_PROTOCOL instance.
34
35 @return The version value associated with the driver specified by This.
36
37**/
38typedef
39UINT32
40(EFIAPI *EFI_DRIVER_FAMILY_OVERRIDE_GET_VERSION)(
41 IN EFI_DRIVER_FAMILY_OVERRIDE_PROTOCOL *This
42 );
43
44///
45/// When installed, the Driver Family Override Protocol produces a GUID that represents
46/// a family of drivers. Drivers with the same GUID are members of the same family
47/// When drivers are connected to controllers, drivers with a higher revision value
48/// in the same driver family are connected with a higher priority than drivers
49/// with a lower revision value in the same driver family. The EFI Boot Service
50/// Connect Controller uses five rules to build a prioritized list of drivers when
51/// a request is made to connect a driver to a controller. The Driver Family Protocol
52/// rule is between the Platform Specific Driver Override Protocol and above the
53/// Bus Specific Driver Override Protocol.
54///
55struct _EFI_DRIVER_FAMILY_OVERRIDE_PROTOCOL {
56 EFI_DRIVER_FAMILY_OVERRIDE_GET_VERSION GetVersion;
57};
58
59extern EFI_GUID gEfiDriverFamilyOverrideProtocolGuid;
60
61#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette