]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/DriverSupportedEfiVersion.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Protocol / DriverSupportedEfiVersion.h
1 /** @file
2 The protocol provides information about the version of the EFI
3 specification that a driver is following. This protocol is
4 required for EFI drivers that are on PCI and other plug-in
5 cards.
6
7 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 **/
11
12 #ifndef __DRIVER_SUPPORTED_EFI_VERSION_H__
13 #define __DRIVER_SUPPORTED_EFI_VERSION_H__
14
15 #define EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL_GUID \
16 { 0x5c198761, 0x16a8, 0x4e69, { 0x97, 0x2c, 0x89, 0xd6, 0x79, 0x54, 0xf8, 0x1d } }
17
18
19 ///
20 /// The EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL provides a
21 /// mechanism for an EFI driver to publish the version of the EFI
22 /// specification it conforms to. This protocol must be placed on
23 /// the driver's image handle when the driver's entry point is
24 /// called.
25 ///
26 typedef struct _EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL {
27 ///
28 /// The size, in bytes, of the entire structure. Future versions of this
29 /// specification may grow the size of the structure.
30 ///
31 UINT32 Length;
32 ///
33 /// The latest version of the UEFI specification that this driver conforms to.
34 ///
35 UINT32 FirmwareVersion;
36 } EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL;
37
38 extern EFI_GUID gEfiDriverSupportedEfiVersionProtocolGuid;
39
40 #endif