]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Protocol/DriverSupportedEfiVersion.h
Import Pal.h and Sal.h.
[mirror_edk2.git] / MdePkg / Include / Protocol / DriverSupportedEfiVersion.h
CommitLineData
d1f95000 1/** @file\r
2 The file provides information about the version of the EFI\r
3 specification that a driver is following. This protocol is\r
4 required for EFI drivers that are on PCI and other plug in\r
5 cards.\r
6\r
7 Copyright (c) 2006 - 2007, Intel Corporation\r
8 All rights reserved. This program and the accompanying materials \r
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
16 Module Name: DriverSupportedEfiVesrion.h\r
17\r
18**/\r
19\r
20#ifndef __DRIVER_SUPPORTED_EFI_VERSION_H__\r
21#define __DRIVER_SUPPORTED_EFI_VERSION_H__\r
22\r
23#define EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL_GUID \\r
24 { 0x5c198761, 0x16a8, 0x4e69, { 0x97, 0x2c, 0x89, 0xd6, 0x79, 0x54, 0xf8, 0x1d } }\r
25\r
26\r
27/**\r
28 \r
29 The EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL provides a\r
30 mechanism for an EFI driver to publish the version of the EFI \r
31 specification it conforms to. This protocol must be placed on \r
32 the drivers image handle when the driver????s entry point is \r
33 called.\r
34 \r
35 @param Length The size, in bytes, of the entire structure.\r
36 Future versions of this specification may grow\r
37 the size of the structure.\r
38 \r
39 @param irmwareVersion The version of the EFI specification\r
40 that this driver conforms to.\r
41 EFI_2_10_SYSTEM_TABLE_REVISION for this\r
42 version of this specification.\r
43\r
44**/ \r
45typedef struct _EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL {\r
46 UINT32 Length;\r
47 UINT32 FirmwareVersion;\r
48} EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL;\r
49\r
50extern EFI_GUID gEfiDriverSupportedEfiVersionProtocolGuid;\r
51\r
52#endif\r