VirtualBox

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

最後變更 在這個檔案從58464是 48674,由 vboxsync 提交於 12 年 前

EFI: Export newly imported tinaocore UEFI sources to OSE.

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

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