Add preparation for FAR release.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4413 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2007-12-21 03:27:03 +00:00
parent c153babd79
commit c281c698a5
7 changed files with 280 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
#/** @file
# Description file for the Atapi Passthru component.
# Description file for the Atapi Pass Thru driver.
#
# This driver simulates SCSI devices with Atapi devices to test the SCSI io
# protocol.
# Copyright (c) 2006 - 2007, Intel Corporation
# 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
@@ -17,7 +17,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = AtapiPassThru
BASE_NAME = AtapiPassThruDxe
FILE_GUID = E49061CE-99A7-41d3-AB3A-36E5CFBAD63E
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0

View File

@@ -0,0 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MsaHeader>
<ModuleName>AtapiPassThruDxe</ModuleName>
<ModuleType>UEFI_DRIVER</ModuleType>
<GuidValue>E49061CE-99A7-41d3-AB3A-36E5CFBAD63E</GuidValue>
<Version>0.1</Version>
<Abstract>Description file for the Atapi Pass Thru driver.</Abstract>
<Description>This driver simulates SCSI devices with Atapi devices to test the SCSI IO protocol.</Description>
<Copyright>Copyright (c) 2007, Intel Corporation.</Copyright>
<License>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.</License>
<Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
</MsaHeader>
<ModuleDefinitions>
<SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
<BinaryModule>false</BinaryModule>
<OutputFileBasename>AtapiPassThruDxe</OutputFileBasename>
</ModuleDefinitions>
<SourceFiles>
<Filename>AtapiPassThru.c</Filename>
<Filename>AtapiPassThru.h</Filename>
<Filename>ComponentName.c</Filename>
<Filename>DriverSupportedEfiVersion.c</Filename>
</SourceFiles>
<LibraryClassDefinitions>
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>DebugLib</Keyword>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>BaseMemoryLib</Keyword>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>UefiDriverEntryPoint</Keyword>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>UefiBootServicesTableLib</Keyword>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>UefiLib</Keyword>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>BaseLib</Keyword>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>MemoryAllocationLib</Keyword>
</LibraryClass>
</LibraryClassDefinitions>
<Protocols>
<Protocol Usage="BY_START">
<ProtocolCName>gEfiScsiPassThruProtocolGuid</ProtocolCName>
</Protocol>
<Protocol Usage="BY_START">
<ProtocolCName>gEfiExtScsiPassThruProtocolGuid</ProtocolCName>
</Protocol>
<Protocol Usage="TO_START">
<ProtocolCName>gEfiPciIoProtocolGuid</ProtocolCName>
</Protocol>
<Protocol Usage="ALWAYS_PRODUCED">
<ProtocolCName>gEfiDriverSupportedEfiVersionProtocolGuid</ProtocolCName>
</Protocol>
</Protocols>
<PcdCoded>
<PcdEntry PcdItemType="FEATURE_FLAG">
<C_Name>PcdSupportScsiPassThru</C_Name>
<TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>
<HelpText>Atapi Pass Thru driver supports to produce Scsi Pass Thru protocol.</HelpText>
</PcdEntry>
<PcdEntry PcdItemType="FEATURE_FLAG">
<C_Name>PcdExtSupportScsiPassThru</C_Name>
<TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>
<HelpText>Atapi Pass Thru driver supports to produce Ext Scsi Pass Thru protocol.</HelpText>
</PcdEntry>
<PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdDriverSupportedEfiVersion</C_Name>
<TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>
<HelpText>The firmware version field filled in EFI Driver Supported EFI Version protocol.</HelpText>
</PcdEntry>
</PcdCoded>
<Externs>
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
<Extern>
<ModuleEntryPoint>InitializeAtapiPassThru</ModuleEntryPoint>
</Extern>
</Externs>
<PackageDependencies>
<Package PackageVersion="0.1" PackageGuid="1E73767F-8F52-4603-AEB4-F29B510B6766"/>
<Package PackageVersion="0.1" PackageGuid="AA3865E8-7F30-4f59-8696-99F560101852"/>
</PackageDependencies>
</ModuleSurfaceArea>