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 |
91929400 |
7 | Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r |
9df063a0 |
8 | This program and the accompanying materials \r |
d1f95000 |
9 | are licensed and made available under the terms and conditions of the BSD License \r |
10 | which accompanies this distribution. The full text of the license may be found at \r |
11 | http://opensource.org/licenses/bsd-license.php \r |
12 | \r |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r |
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r |
15 | \r |
d1f95000 |
16 | **/\r |
17 | \r |
18 | #ifndef __DRIVER_SUPPORTED_EFI_VERSION_H__\r |
19 | #define __DRIVER_SUPPORTED_EFI_VERSION_H__\r |
20 | \r |
21 | #define EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL_GUID \\r |
22 | { 0x5c198761, 0x16a8, 0x4e69, { 0x97, 0x2c, 0x89, 0xd6, 0x79, 0x54, 0xf8, 0x1d } }\r |
23 | \r |
24 | \r |
44717a39 |
25 | ///\r |
26 | /// The EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL provides a\r |
27 | /// mechanism for an EFI driver to publish the version of the EFI \r |
28 | /// specification it conforms to. This protocol must be placed on \r |
630b4187 |
29 | /// the driver's image handle when the driver's entry point is \r |
44717a39 |
30 | /// called.\r |
31 | ///\r |
d1f95000 |
32 | typedef struct _EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL {\r |
3354353d |
33 | ///\r |
34 | /// The size, in bytes, of the entire structure. Future versions of this \r |
f754f721 |
35 | /// specification may grow the size of the structure.\r |
3354353d |
36 | /// \r |
d1f95000 |
37 | UINT32 Length;\r |
3354353d |
38 | ///\r |
91929400 |
39 | /// The latest version of the UEFI specification that this driver conforms to.\r |
3354353d |
40 | ///\r |
d1f95000 |
41 | UINT32 FirmwareVersion;\r |
42 | } EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL;\r |
43 | \r |
44 | extern EFI_GUID gEfiDriverSupportedEfiVersionProtocolGuid;\r |
45 | \r |
46 | #endif\r |