2007-06-19 12:12:02 +02:00
|
|
|
/** @file
|
2008-07-25 12:37:15 +02:00
|
|
|
The protocol provides information about the version of the EFI
|
2007-06-19 12:12:02 +02:00
|
|
|
specification that a driver is following. This protocol is
|
2009-06-04 07:49:29 +02:00
|
|
|
required for EFI drivers that are on PCI and other plug-in
|
2007-06-19 12:12:02 +02:00
|
|
|
cards.
|
|
|
|
|
2008-07-25 12:37:15 +02:00
|
|
|
Copyright (c) 2006 - 2008, Intel Corporation
|
2007-06-19 12:12:02 +02:00
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __DRIVER_SUPPORTED_EFI_VERSION_H__
|
|
|
|
#define __DRIVER_SUPPORTED_EFI_VERSION_H__
|
|
|
|
|
|
|
|
#define EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL_GUID \
|
|
|
|
{ 0x5c198761, 0x16a8, 0x4e69, { 0x97, 0x2c, 0x89, 0xd6, 0x79, 0x54, 0xf8, 0x1d } }
|
|
|
|
|
|
|
|
|
2008-10-13 04:54:29 +02:00
|
|
|
///
|
|
|
|
/// The EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL provides a
|
|
|
|
/// mechanism for an EFI driver to publish the version of the EFI
|
|
|
|
/// specification it conforms to. This protocol must be placed on
|
2009-06-04 07:49:29 +02:00
|
|
|
/// the driver's image handle when the driver's entry point is
|
2008-10-13 04:54:29 +02:00
|
|
|
/// called.
|
|
|
|
///
|
2007-06-19 12:12:02 +02:00
|
|
|
typedef struct _EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL {
|
2008-10-09 20:09:49 +02:00
|
|
|
///
|
|
|
|
/// The size, in bytes, of the entire structure. Future versions of this
|
2009-06-11 03:46:51 +02:00
|
|
|
/// specification may grow the size of the structure.
|
2008-10-09 20:09:49 +02:00
|
|
|
///
|
2007-06-19 12:12:02 +02:00
|
|
|
UINT32 Length;
|
2008-10-09 20:09:49 +02:00
|
|
|
///
|
|
|
|
/// The version of the EFI specification that this driver conforms to.
|
|
|
|
/// EFI_2_10_SYSTEM_TABLE_REVISION for this version of this specification.
|
|
|
|
///
|
2007-06-19 12:12:02 +02:00
|
|
|
UINT32 FirmwareVersion;
|
|
|
|
} EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL;
|
|
|
|
|
|
|
|
extern EFI_GUID gEfiDriverSupportedEfiVersionProtocolGuid;
|
|
|
|
|
|
|
|
#endif
|