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