mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-27 12:15:19 +01:00
71 lines
2.3 KiB
INI
71 lines
2.3 KiB
INI
|
## @file
|
||
|
#
|
||
|
# Scsi Disk driver. This driver detects the Scsi disk media and installs Block I/O Protocol
|
||
|
# on the device handle that holds the SCSI I/O Portocol.
|
||
|
#
|
||
|
# Copyright (c) 2006 - 2010, 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
|
||
|
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
|
||
|
gEfiScsiIoProtocolGuid ## TO_START
|
||
|
gEfiScsiPassThruProtocolGuid ## TO_START
|
||
|
gEfiExtScsiPassThruProtocolGuid ## TO_START
|
||
|
|
||
|
[Guids]
|
||
|
gEfiDiskInfoScsiInterfaceGuid ## SOMETIME_PRODUCES (The device is physical SCSI disk)
|
||
|
gEfiDiskInfoIdeInterfaceGuid ## SOMETIME_PRODUCES (The device is ATAPI device in IDE mode)
|
||
|
gEfiDiskInfoAhciInterfaceGuid ## SOMETIME_PRODUCES (The device is ATAPI device in AHCI mode)
|
||
|
|
||
|
[BuildOptions]
|
||
|
XCODE:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
|
||
|
GCC:*_*_*_CC_FLAGS = -O0 -DMDEPKG_NDEBUG
|
||
|
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|