diff options
Diffstat (limited to 'OptionRomPkg/AtapiPassThruDxe')
-rw-r--r-- | OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf | 6 | ||||
-rw-r--r-- | OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.msa | 95 |
2 files changed, 98 insertions, 3 deletions
diff --git a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf index 9fe6f5459a..735101b36c 100644 --- a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf +++ b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf @@ -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
diff --git a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.msa b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.msa new file mode 100644 index 0000000000..a6b47792a6 --- /dev/null +++ b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.msa @@ -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>
\ No newline at end of file |