]> git.proxmox.com Git - mirror_edk2.git/blob - OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf
Refine some code to make code run safely.
[mirror_edk2.git] / OptionRomPkg / AtapiPassThruDxe / AtapiPassThruDxe.inf
1 ## @file
2 # Description file for the Atapi Pass Thru driver.
3 #
4 # This driver simulates SCSI devices with Atapi devices to test the SCSI io
5 # protocol.
6 # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
7 #
8 # This program and the accompanying materials
9 # are licensed and made available under the terms and conditions of the BSD License
10 # which accompanies this distribution. The full text of the license may be found at
11 # http://opensource.org/licenses/bsd-license.php
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = AtapiPassThruDxe
21 FILE_GUID = E49061CE-99A7-41d3-AB3A-36E5CFBAD63E
22 MODULE_TYPE = UEFI_DRIVER
23 VERSION_STRING = 1.0
24
25 ENTRY_POINT = InitializeAtapiPassThru
26
27 PCI_VENDOR_ID = 0x8086
28 PCI_DEVICE_ID = 0x2921
29 PCI_CLASS_CODE = 0x010100
30 PCI_REVISION = 0x0003
31
32 #
33 # The following information is for reference only and not required by the build tools.
34 #
35 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
36 #
37 # DRIVER_BINDING = gAtapiScsiPassThruDriverBinding
38 # COMPONENT_NAME = gAtapiScsiPassThruComponentName
39 #
40
41 [Sources]
42 DriverSupportedEfiVersion.c
43 ComponentName.c
44 AtapiPassThru.c
45 AtapiPassThru.h
46
47
48 [Packages]
49 MdePkg/MdePkg.dec
50 OptionRomPkg/OptionRomPkg.dec
51
52 [LibraryClasses]
53 UefiBootServicesTableLib
54 MemoryAllocationLib
55 BaseMemoryLib
56 UefiLib
57 BaseLib
58 UefiDriverEntryPoint
59 DebugLib
60 DevicePathLib
61
62
63 [Protocols]
64 gEfiScsiPassThruProtocolGuid # PROTOCOL BY_START
65 gEfiExtScsiPassThruProtocolGuid # PROTOCOL BY_START
66 gEfiPciIoProtocolGuid # PROTOCOL TO_START
67 gEfiDriverSupportedEfiVersionProtocolGuid # PROTOCOL ALWAYS_PRODUCED
68
69 [FeaturePcd]
70 gOptionRomPkgTokenSpaceGuid.PcdSupportScsiPassThru
71 gOptionRomPkgTokenSpaceGuid.PcdSupportExtScsiPassThru
72
73 [Pcd]
74 gOptionRomPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion
75