Together with EFI_BLOCK_IO_PROTOCOL, EFI_BLOCK_IO2_PROTOCOL is installed as well in ScsiDiskDxe. Block I/O 2 functions are implemented: Reset ReadBlocksEx WriteBlocksEx FlushBlocksEx Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19215 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			76 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  The Scsi Disk driver is used to retrieve the media info in the attached SCSI disk.
 | |
| #  It detects the SCSI disk media and installs Block I/O and Block I/O2 Protocol on
 | |
| #  the device handle.
 | |
| #  
 | |
| #  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
 | |
| #  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.
 | |
| #  
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = ScsiDisk
 | |
|   MODULE_UNI_FILE                = ScsiDisk.uni
 | |
|   FILE_GUID                      = 0A66E322-3740-4cce-AD62-BD172CECCA35
 | |
|   MODULE_TYPE                    = UEFI_DRIVER
 | |
|   VERSION_STRING                 = 1.0
 | |
| 
 | |
|   ENTRY_POINT                    = InitializeScsiDisk
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
 | |
| #
 | |
| #  DRIVER_BINDING                =  gScsiDiskDriverBinding
 | |
| #  COMPONENT_NAME                =  gScsiDiskComponentName
 | |
| #  COMPONENT_NAME2               =  gScsiDiskComponentName2
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   ComponentName.c
 | |
|   ScsiDisk.c
 | |
|   ScsiDisk.h
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
| 
 | |
| 
 | |
| [LibraryClasses]
 | |
|   UefiBootServicesTableLib
 | |
|   UefiScsiLib
 | |
|   BaseMemoryLib
 | |
|   MemoryAllocationLib
 | |
|   UefiLib
 | |
|   UefiDriverEntryPoint
 | |
|   DebugLib
 | |
|   DevicePathLib
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiDiskInfoProtocolGuid                      ## BY_START
 | |
|   gEfiBlockIoProtocolGuid                       ## BY_START
 | |
|   gEfiBlockIo2ProtocolGuid                      ## BY_START
 | |
|   gEfiScsiIoProtocolGuid                        ## TO_START
 | |
|   gEfiScsiPassThruProtocolGuid                  ## TO_START
 | |
|   gEfiExtScsiPassThruProtocolGuid               ## TO_START
 | |
| 
 | |
| [Guids]
 | |
|   gEfiDiskInfoScsiInterfaceGuid                 ## SOMETIMES_PRODUCES ## UNDEFINED
 | |
|   gEfiDiskInfoIdeInterfaceGuid                  ## SOMETIMES_PRODUCES ## UNDEFINED
 | |
|   gEfiDiskInfoAhciInterfaceGuid                 ## SOMETIMES_PRODUCES ## UNDEFINED
 | |
|   gEfiDiskInfoUfsInterfaceGuid                  ## SOMETIMES_PRODUCES ## UNDEFINED
 | |
| 
 | |
| # [Event]
 | |
| # EVENT_TYPE_RELATIVE_TIMER       ## CONSUMES
 | |
| #
 | |
| 
 | |
| [UserExtensions.TianoCore."ExtraFiles"]
 | |
|   ScsiDiskExtra.uni
 |