]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/DriverSupportedEfiVersion.h
Code Scrub for Protocol and Ppi Definition
[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 - 2008, Intel Corporation
8 All rights reserved. This program and the accompanying materials
9 are licensed and made available under the terms and conditions of the BSD License
10 which accompanies this distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 **/
17
18 #ifndef __DRIVER_SUPPORTED_EFI_VERSION_H__
19 #define __DRIVER_SUPPORTED_EFI_VERSION_H__
20
21 #define EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL_GUID \
22 { 0x5c198761, 0x16a8, 0x4e69, { 0x97, 0x2c, 0x89, 0xd6, 0x79, 0x54, 0xf8, 0x1d } }
23
24
25 /**
26 @par Protocol Description:
27 The EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL provides a
28 mechanism for an EFI driver to publish the version of the EFI
29 specification it conforms to. This protocol must be placed on
30 the drivers image handle when the driver's entry point is
31 called.
32
33 @param Length The size, in bytes, of the entire structure.
34 Future versions of this specification may grow
35 the size of the structure.
36
37 @param FirmwareVersion The version of the EFI specification
38 that this driver conforms to.
39 EFI_2_10_SYSTEM_TABLE_REVISION for this
40 version of this specification.
41
42 **/
43 typedef struct _EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL {
44 UINT32 Length;
45 UINT32 FirmwareVersion;
46 } EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL;
47
48 extern EFI_GUID gEfiDriverSupportedEfiVersionProtocolGuid;
49
50 #endif