summaryrefslogtreecommitdiffstats
path: root/OptionRomPkg/AtapiPassThruDxe/DriverSupportedEfiVersion.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-22 07:15:08 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-22 07:15:08 +0000
commit4cc9af6c58a912e781fefe173953db531d3eff8d (patch)
tree837d0350c4e3d374bfcf3a2cc18b40a4cb1db638 /OptionRomPkg/AtapiPassThruDxe/DriverSupportedEfiVersion.c
parente89b6bfc0126b17098ae1a3f043a70844f6396aa (diff)
downloadedk2-4cc9af6c58a912e781fefe173953db531d3eff8d.tar.gz
edk2-4cc9af6c58a912e781fefe173953db531d3eff8d.tar.bz2
edk2-4cc9af6c58a912e781fefe173953db531d3eff8d.zip
Update AtapiPassThru driver in Option ROM package to support to produce EFI Driver supported EFI version protocol, which is required for EFI drivers that are on PCI and other plug in cards.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4320 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OptionRomPkg/AtapiPassThruDxe/DriverSupportedEfiVersion.c')
-rw-r--r--OptionRomPkg/AtapiPassThruDxe/DriverSupportedEfiVersion.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/OptionRomPkg/AtapiPassThruDxe/DriverSupportedEfiVersion.c b/OptionRomPkg/AtapiPassThruDxe/DriverSupportedEfiVersion.c
new file mode 100644
index 0000000000..5496d7a847
--- /dev/null
+++ b/OptionRomPkg/AtapiPassThruDxe/DriverSupportedEfiVersion.c
@@ -0,0 +1,20 @@
+/** @file
+ Copyright (c) 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: DriverSupportEfiVersion.c
+
+**/
+#include "AtapiPassThru.h"
+
+EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL gAtapiScsiPassThruDriverSupportedEfiVersion = {
+ sizeof (EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL), // Size of Protocol structure.
+ 0 // Version number to be filled at start up.
+};
+