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