diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-19 10:12:02 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-19 10:12:02 +0000 |
commit | d1f950002362305fcd4c30f108ef7b76679f5843 (patch) | |
tree | 7cf4fd91cedb0adf0cb570c5ae95b774a916630a /MdePkg/Include/Protocol/DriverSupportedEfiVersion.h | |
parent | 00edb2182b6203a037219c29317ab6362c78b422 (diff) | |
download | edk2-platforms-d1f950002362305fcd4c30f108ef7b76679f5843.tar.xz |
Checked in the Protocols introduced in UEFI/PI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2674 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/DriverSupportedEfiVersion.h')
-rw-r--r-- | MdePkg/Include/Protocol/DriverSupportedEfiVersion.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DriverSupportedEfiVersion.h b/MdePkg/Include/Protocol/DriverSupportedEfiVersion.h new file mode 100644 index 0000000000..84e30ef2f6 --- /dev/null +++ b/MdePkg/Include/Protocol/DriverSupportedEfiVersion.h @@ -0,0 +1,52 @@ +/** @file
+ The file provides information about the version of the EFI
+ specification that a driver is following. This protocol is
+ required for EFI drivers that are on PCI and other plug in
+ cards.
+
+ Copyright (c) 2006 - 2007, Intel Corporation
+ 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.
+
+ Module Name: DriverSupportedEfiVesrion.h
+
+**/
+
+#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 } }
+
+
+/**
+
+ 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
+ the drivers image handle when the driver????s entry point is
+ called.
+
+ @param Length The size, in bytes, of the entire structure.
+ Future versions of this specification may grow
+ the size of the structure.
+
+ @param irmwareVersion The version of the EFI specification
+ that this driver conforms to.
+ EFI_2_10_SYSTEM_TABLE_REVISION for this
+ version of this specification.
+
+**/
+typedef struct _EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL {
+ UINT32 Length;
+ UINT32 FirmwareVersion;
+} EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL;
+
+extern EFI_GUID gEfiDriverSupportedEfiVersionProtocolGuid;
+
+#endif
|