-#/** @file\r
-# Component description file for Scsi Disk module.Revision History\r
+## @file\r
+# The Scsi Disk driver is used to retrieve the media info in the attached SCSI disk.\r
+# It detects the SCSI disk media and installs Block I/O and Block I/O2 Protocol on\r
+# the device handle.\r
#\r
-# Scsi Disk driver. This driver detected the Scsi disk media and export block io protocol\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
-#\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
+# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
+#\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
-#\r
-#**/\r
+##\r
\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = ScsiDisk\r
+ MODULE_UNI_FILE = ScsiDisk.uni\r
FILE_GUID = 0A66E322-3740-4cce-AD62-BD172CECCA35\r
- MODULE_TYPE = DXE_DRIVER\r
+ MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00010010\r
\r
ENTRY_POINT = InitializeScsiDisk\r
\r
#\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
-# DRIVER_BINDING = gScsiDiskDriverBinding \r
-# COMPONENT_NAME = gScsiDiskComponentName \r
+# DRIVER_BINDING = gScsiDiskDriverBinding\r
+# COMPONENT_NAME = gScsiDiskComponentName\r
+# COMPONENT_NAME2 = gScsiDiskComponentName2\r
#\r
\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
ComponentName.c\r
ScsiDisk.c\r
ScsiDisk.h\r
\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[Packages]\r
MdePkg/MdePkg.dec\r
\r
\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[LibraryClasses]\r
UefiBootServicesTableLib\r
- ScsiLib\r
+ UefiScsiLib\r
BaseMemoryLib\r
+ MemoryAllocationLib\r
UefiLib\r
UefiDriverEntryPoint\r
DebugLib\r
+ DevicePathLib\r
\r
+[Protocols]\r
+ gEfiDiskInfoProtocolGuid ## BY_START\r
+ gEfiBlockIoProtocolGuid ## BY_START\r
+ gEfiBlockIo2ProtocolGuid ## BY_START\r
+ gEfiEraseBlockProtocolGuid ## BY_START\r
+ gEfiScsiIoProtocolGuid ## TO_START\r
+ gEfiScsiPassThruProtocolGuid ## TO_START\r
+ gEfiExtScsiPassThruProtocolGuid ## TO_START\r
\r
-################################################################################\r
-#\r
-# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
-# that this module uses or produces.\r
-#\r
-################################################################################\r
+[Guids]\r
+ gEfiDiskInfoScsiInterfaceGuid ## SOMETIMES_PRODUCES ## UNDEFINED\r
+ gEfiDiskInfoIdeInterfaceGuid ## SOMETIMES_PRODUCES ## UNDEFINED\r
+ gEfiDiskInfoAhciInterfaceGuid ## SOMETIMES_PRODUCES ## UNDEFINED\r
+ gEfiDiskInfoUfsInterfaceGuid ## SOMETIMES_PRODUCES ## UNDEFINED\r
\r
-[Protocols]\r
- gEfiBlockIoProtocolGuid # PROTOCOL BY_START\r
- gEfiScsiIoProtocolGuid # PROTOCOL TO_START\r
+# [Event]\r
+# EVENT_TYPE_RELATIVE_TIMER ## CONSUMES\r
+#\r
\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ ScsiDiskExtra.uni\r